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
NotValidated
Validating
Error error
Success output
Instances
(Eq e, Eq o) => Eq (FormFieldResult e o)
Functor (FormFieldResult e)
Apply (FormFieldResult e)
Applicative (FormFieldResult e)
Bind (FormFieldResult e)
Monad (FormFieldResult e)
#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
- Modules
- Formless
- Formless.
Action - Formless.
Class. Initial - Formless.
Component - Formless.
Data. FormFieldResult - Formless.
Internal. Component - Formless.
Internal. Debounce - Formless.
Internal. Transform - Formless.
Query - Formless.
Retrieve - Formless.
Transform. Record - Formless.
Transform. Row - Formless.
Types. Component - Formless.
Types. Form - Formless.
Validation