Module

Literals

Package
purescript-literals
Repository
jvliwanag/purescript-literals

Re-exports from Literals.Boolean

#BooleanLit Source

type BooleanLit sym = Literal Boolean sym

#true_ Source

true_ :: BooleanLit "true"

#false_ Source

false_ :: BooleanLit "false"

Re-exports from Literals.Int

#IntLit Source

type IntLit sym = Literal Int sym

#Digit Source

class Digit (s :: Symbol) 

Instances

#Int Source

class Int (sym :: Symbol) 

Instances

#Int' Source

class 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 -> Type

Instances

#toValue Source

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

Re-exports from Literals.Number

#NumberLit Source

type NumberLit sym = Literal Number sym

#Number Source

class Number (sym :: Symbol) 

Instances

#Number' Source

class 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 sym = Literal String sym

#stringLit Source

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