Package fj.data.hlist
Class HList.HCons<E,L extends HList<L>>
- java.lang.Object
-
- fj.data.hlist.HList<HList.HCons<E,L>>
-
- fj.data.hlist.HList.HCons<E,L>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class fj.data.hlist.HList
HList.Apply<F$,A,R>, HList.HAppend<A,B,C>, HList.HCons<E,L extends HList<L>>, HList.HFoldr<G,V,L,R>, HList.HNil
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <X> HList.HCons<X,HList.HCons<E,L>>
extend(X e)
Extends (cons) this list by prepending the given element, returning a new list.<X> HList.Apply<Unit,P2<X,HList.HCons<E,L>>,HList.HCons<X,HList.HCons<E,L>>>
extender()
E
head()
L
tail()
-
-
-
Method Detail
-
head
public E head()
-
tail
public L tail()
-
extender
public <X> HList.Apply<Unit,P2<X,HList.HCons<E,L>>,HList.HCons<X,HList.HCons<E,L>>> extender()
-
extend
public <X> HList.HCons<X,HList.HCons<E,L>> extend(X e)
Description copied from class:HList
Extends (cons) this list by prepending the given element, returning a new list.
-
-