Module
Literals.Int
- Package
- purescript-literals
- Repository
- rowtype-yoga/purescript-literals
#IntegerPart Source
data IntegerPart :: IntPart
data IntegerPart
Instances
(Digit h) => Int' h "" IntegerPart
(Digit h, Cons h' t' t, Int' h' t' IntegerPart) => Int' h t IntegerPart
#Int' Source
class Int' :: Symbol -> Symbol -> IntPart -> Constraint
class Int' (head :: Symbol) (tail :: Symbol) (part :: IntPart)
Instances
(Cons h' t' t, Int' h' t' IntegerPart) => Int' "-" t Sign
(Int' h t IntegerPart) => Int' h t Sign
(Digit h) => Int' h "" IntegerPart
(Digit h, Cons h' t' t, Int' h' t' IntegerPart) => Int' h t IntegerPart