witness-0.4: values that witness types

Safe HaskellSafe
LanguageHaskell98

Data.Witness.Nat

Documentation

data NatType t where Source #

Constructors

ZeroType :: NatType Zero 
SuccType :: NatType t -> NatType (Succ t) 

Instances