mirror of https://github.com/sbt/sbt.git
MList covariant, initial Node
This commit is contained in:
parent
7927d8bdad
commit
86c938d198
|
|
@ -4,6 +4,7 @@ trait TypeFunctions
|
||||||
{
|
{
|
||||||
type Id[X] = X
|
type Id[X] = X
|
||||||
trait Const[A] { type Apply[B] = A }
|
trait Const[A] { type Apply[B] = A }
|
||||||
|
trait P1of2[M[_,_], A] { type Apply[B] = M[A,B] }
|
||||||
trait Down[M[_]] { type Apply[B] = Id[M[B]] }
|
trait Down[M[_]] { type Apply[B] = Id[M[B]] }
|
||||||
|
|
||||||
trait ~>[A[_], B[_]]
|
trait ~>[A[_], B[_]]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue