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.HNil
INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
HNil()
-
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:HList
Cons an element onto the front of this HList.
-
-