Module
Literals
- Package
- purescript-literals
- Repository
- rowtype-yoga/purescript-literals
Re-exports from Literals.Boolean
#BooleanLit Source
type BooleanLit :: Symbol -> Type
type BooleanLit sym = Literal Boolean sym
#true_ Source
true_ :: BooleanLit "true"
#false_ Source
false_ :: BooleanLit "false"
Re-exports from Literals.Int
#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
Re-exports from Literals.Literal
Re-exports from Literals.Number
#Number' Source
class Number' :: Symbol -> Symbol -> NumberPart -> Constraint
class Number' (head :: Symbol) (tail :: Symbol) (part :: NumberPart)
Instances
(Cons h' t' t, Number' h' t' IntegerPart) => Number' "-" t Sign
(Number' h t IntegerPart) => Number' h t Sign
(Cons h' t' t, Number' h' t' FractionalPart) => Number' "." t IntegerPart
(Digit h) => Number' h "" FractionalPart
(Digit h, Cons h' t' t, Number' h' t' IntegerPart) => Number' h t IntegerPart
(Digit h, Cons h' t' t, Number' h' t' FractionalPart) => Number' h t FractionalPart