Class HList.HNil
The empty list
-
Nested Class Summary
Nested classes/interfaces inherited from class HList
HList.Apply<F$,A, R>, HList.HAppend<A, B, C>, HList.HCons<E, 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:HListExtends (cons) this list by prepending the given element, returning a new list.- Specified by:
extendin 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:
extenderin classHList<HList.HNil>
-