Package fj.data.hlist
Class HList.HNil
The empty list
-
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 -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<E> HList.HCons
<E, HList.HNil> extend
(E e) Extends (cons) this list by prepending the given element, returning a new list.<E> HList.Apply
<Unit, P2<E, HList.HNil>, HList.HCons<E, HList.HNil>> extender()
-
Field Details
-
nil
-
-
Constructor Details
-
HNil
private HNil()
-
-
Method Details
-
extend
Description copied from class:HList
Extends (cons) this list by prepending the given element, returning a new list.- Specified by:
extend
in classHList<HList.HNil>
- Parameters:
e
- an element to prepend to this list.- Returns:
- a new heterogeneous list, consisting of the given element prepended to this list.
-
extender
- Specified by:
extender
in classHList<HList.HNil>
-