Class HPre
java.lang.Object
fj.data.hlist.HPre
A basic prelude of values lifted into the type system.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classType-level integer arithmeticstatic final classHPre.HAnd<A extends HPre.HBool, B extends HPre.HBool, C extends HPre.HBool>Type-level boolean conjunction.static classA type-level Booleanstatic final classHPre.HCond<T,X, Y, Z> A type-level conditional.static final classHPre.HEq<X, Y, B extends HPre.HBool>Type-level equality.static classBoolean falsestatic classType-level natural numbers.static final classHPre.HOr<A extends HPre.HBool, B extends HPre.HBool, C extends HPre.HBool>Type-level boolean disjunction.static final classHPre.HSucc<N extends HPre.HNat<N>>A natural number N + 1static classBoolean truestatic final classType-level zero -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final HPre.HFalseprivate static final HPre.HTrue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HPre.HFalsehFalse()Returns a boolean value whose type represents falsehood.static HPre.HTruehTrue()Returns a boolean value whose type represents truth.
-
Field Details
-
hTrue
-
hFalse
-
-
Constructor Details
-
HPre
private HPre()
-
-
Method Details
-
hTrue
Returns a boolean value whose type represents truth.- Returns:
- a boolean value whose type represents truth.
-
hFalse
Returns a boolean value whose type represents falsehood.- Returns:
- a boolean value whose type represents falsehood.
-