public static class HList.HNil extends java.lang.Object implements HList<HList.HNil>
HList.HCons<T1,T2 extends HList<T2>>, HList.HNil
Constructor and Description |
---|
HNil() |
Modifier and Type | Method and Description |
---|---|
<R> R |
fold(java.util.function.Function<? super HList<HList.HNil>,? extends R> fn1,
java.util.function.Supplier<? extends R> s) |
<TB> HList.HCons<TB,HList.HNil> |
prepend(TB value) |
public <R> R fold(java.util.function.Function<? super HList<HList.HNil>,? extends R> fn1, java.util.function.Supplier<? extends R> s)
fold
in interface SealedOr<HList<HList.HNil>>
public <TB> HList.HCons<TB,HList.HNil> prepend(TB value)
prepend
in interface HList<HList.HNil>