Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Natural numbers inductivey defined at the type-level, and of kind *
.
Types Zero
and Succ
Type synonyms for a few numbers
Type SPeano
Instances
TestEquality SPeano Source # | |
Defined in Language.Symantic.Typing.Peano |
Type IPeano
Implicit construction of SPeano
.
Type EPeano
Interface with Integral
integral_from_peano :: Integral i => SPeano p -> i Source #
peano_from_integral :: Integral i => i -> (forall p. SPeano p -> ret) -> ret Source #