Module

Formless.Data.FormFieldResult

Package
purescript-halogen-formless
Repository
thomashoneyman/purescript-halogen-formless

#FormFieldResult Source

data FormFieldResult error output

A data type which represents the possible output states of the field. Use the helpers in Retrieve to easily manipulate this type.

Constructors

Instances

#fromEither Source

fromEither :: forall e o. Either e o -> FormFieldResult e o

#toMaybe Source

toMaybe :: forall e o. FormFieldResult e o -> Maybe o

#_Error Source

_Error :: forall e o. Prism' (FormFieldResult e o) e

#_Success Source

_Success :: forall e o. Prism' (FormFieldResult e o) o