data-type-0.1.0: Basic type wrangling types and classes
Data.Type.Nat
data Z Source
Constructors
Instances
data S n Source
zero :: ZSource
one :: S ZSource
two :: S (S Z)Source
three :: S (S (S Z))Source
class Nat n whereSource
Methods
fromNat :: Enum e => n -> eSource