Module
DataMVC.Types
- Package
- purescript-data-mvc
- Repository
- thought2/purescript-data-mvc
Re-exports from DataMVC.Types.DataError
#DataResult Source
type DataResult a = Either (NonEmptyArray DataError) a
#DataErrorCase Source
Re-exports from DataMVC.Types.DataPath
#DataPathSegment Source
#DataPath Source
type DataPath = Array DataPathSegment
Re-exports from DataMVC.Types.DataUI
#DataUiInterface Source
newtype DataUiInterface :: (Type -> Type) -> Type -> Type -> Type -> Type
newtype DataUiInterface srf msg sta a
Constructors
DataUiInterface { extract :: sta -> DataResult a, init :: Maybe a -> sta, name :: String, update :: msg -> sta -> sta, view :: sta -> srf msg }
Instances
Newtype (DataUiInterface srf msg sta a) _
- Modules
- DataMVC.
ApplyCtx - DataMVC.
Record. DataUI - DataMVC.
Record. DataUiInterface - DataMVC.
Record. Extract - DataMVC.
Record. Init - DataMVC.
Types - DataMVC.
Types. DataError - DataMVC.
Types. DataPath - DataMVC.
Types. DataUI - DataMVC.
Variant. DataUI - DataMVC.
Variant. DataUiInterface - DataMVC.
Variant. Extract - DataMVC.
Variant. Init