Module

Literals

Package
purescript-literals
Repository
rowtype-yoga/purescript-literals

Re-exports from Literals.Boolean

#BooleanLit Source

type BooleanLit :: Symbol -> Typetype BooleanLit sym = Literal Boolean sym

#true_ Source

true_ :: BooleanLit "true"

#false_ Source

false_ :: BooleanLit "false"

Re-exports from Literals.Int

#IntLit Source

type IntLit :: Symbol -> Typetype IntLit sym = Literal Int sym

#Digit Source

class Digit :: Symbol -> Constraintclass Digit (s :: Symbol) 

Instances

#Int Source

class Int :: Symbol -> Constraintclass Int (sym :: Symbol) 

Instances

#Int' Source

class Int' :: Symbol -> Symbol -> IntPart -> Constraintclass Int' (head :: Symbol) (tail :: Symbol) (part :: IntPart) 

Instances

#intLit Source

intLit :: forall sym. IsSymbol sym => Int sym => IntLit sym

Re-exports from Literals.Literal

#Literal Source

data Literal :: Type -> Symbol -> Typedata Literal t0 t1

Instances

#toValue Source

toValue :: forall s a. Literal a s -> a

Re-exports from Literals.Number

#NumberLit Source

type NumberLit :: Symbol -> Typetype NumberLit sym = Literal Number sym

#Number Source

class Number :: Symbol -> Constraintclass Number (sym :: Symbol) 

Instances

#Number' Source

class Number' :: Symbol -> Symbol -> NumberPart -> Constraintclass Number' (head :: Symbol) (tail :: Symbol) (part :: NumberPart) 

Instances

#numberLit Source

numberLit :: forall sym. IsSymbol sym => Number sym => NumberLit sym

Re-exports from Literals.String

#StringLit Source

type StringLit :: Symbol -> Typetype StringLit sym = Literal String sym

#stringLit Source

stringLit :: forall sym. IsSymbol sym => StringLit sym