Module

Polyform.Input.Interpret.Validation

Package
purescript-polyform
Repository
paluh/purescript-polyform

#StringF Source

data StringF n e q a

Constructors

Instances

#STRING Source

type STRING n e q = FProxy (StringF (Variant n) e q)

#_string Source

_string :: SProxy "string"

#string Source

string :: forall names' names name eff q e. Cons name Unit names names' => IsSymbol name => SProxy name -> Validation (Run (string :: STRING names' e q | eff)) e q String

#OptStringF Source

data OptStringF n q e a

Constructors

Instances

#OPTSTRING Source

type OPTSTRING n q e a = FProxy (OptStringF n q e)

#_optString Source

_optString :: SProxy "optString"

#optString Source

optString :: forall q n eff e a. SProxy n -> Validation (Run (optString :: OPTSTRING n q e a | eff)) e q (Maybe String)

#IntF Source

data IntF n e q a

Constructors

Instances

#INT Source

type INT names e q = FProxy (IntF (Variant names) e q)

#_int Source

_int :: SProxy "int"

#int Source

int :: forall names' names name eff q e. Cons name Unit names names' => IsSymbol name => SProxy name -> Validation (Run (int :: INT names' e q | eff)) e q Int

#OptIntF Source

data OptIntF n q e a

Constructors

Instances

#OPTINT Source

type OPTINT n q e a = FProxy (OptIntF n q e)

#_optInt Source

_optInt :: SProxy "optInt"

#optInt Source

optInt :: forall q n eff e a. SProxy n -> Validation (Run (optInt :: OPTINT n q e a | eff)) e q (Maybe Int)