Class HList.HNil
- java.lang.Object
-
- com.jnape.palatable.lambda.adt.hlist.HList
-
- com.jnape.palatable.lambda.adt.hlist.HList.HNil
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.jnape.palatable.lambda.adt.hlist.HList
HList.HCons<Head,Tail extends HList>, HList.HNil
-
-
Field Summary
Fields Modifier and Type Field Description private static HList.HNilINSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description privateHNil()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <Head> SingletonHList<Head>cons(Head head)Cons an element onto the front of this HList.
-
-
-
Field Detail
-
INSTANCE
private static final HList.HNil INSTANCE
-
-
Method Detail
-
cons
public <Head> SingletonHList<Head> cons(Head head)
Description copied from class:HListCons an element onto the front of this HList.
-
-