Module
Data.Typelevel.Num.Sets
- Package
- purescript-typelevel
- Repository
- bodil/purescript-typelevel
#Nat Source
class Nat n where
Members
Instances
Nat D0
Nat D1
Nat D2
Nat D3
Nat D4
Nat D5
Nat D6
Nat D7
Nat D8
Nat D9
(Pos x) => Nat (NumCons x D0)
(Pos x) => Nat (NumCons x D1)
(Pos x) => Nat (NumCons x D2)
(Pos x) => Nat (NumCons x D3)
(Pos x) => Nat (NumCons x D4)
(Pos x) => Nat (NumCons x D5)
(Pos x) => Nat (NumCons x D6)
(Pos x) => Nat (NumCons x D7)
(Pos x) => Nat (NumCons x D8)
(Pos x) => Nat (NumCons x D9)
#Pos Source
class (Nat n) <= Pos n
Instances
Pos D1
Pos D2
Pos D3
Pos D4
Pos D5
Pos D6
Pos D7
Pos D8
Pos D9
(Pos x) => Pos (NumCons x D0)
(Pos x) => Pos (NumCons x D1)
(Pos x) => Pos (NumCons x D2)
(Pos x) => Pos (NumCons x D3)
(Pos x) => Pos (NumCons x D4)
(Pos x) => Pos (NumCons x D5)
(Pos x) => Pos (NumCons x D6)
(Pos x) => Pos (NumCons x D7)
(Pos x) => Pos (NumCons x D8)
(Pos x) => Pos (NumCons x D9)