Module
MVC.Record.UI
- Package
- purescript-mvc
- Repository
- thought2/purescript-mvc
#UIRecordProps Source
type UIRecordProps :: (Type -> Type) -> Type -> Type -> Type
type UIRecordProps srf msg sta = { viewEntries :: Array (ViewResult srf msg) -> srf msg }
#UIRecord Source
class UIRecord :: Row Type -> (Type -> Type) -> Row Type -> Row Type -> Constraint
class UIRecord (uis :: Row Type) (srf :: Type -> Type) (rmsg :: Row Type) (rsta :: Row Type) | uis -> srf rmsg rsta where
Members
uiRecord :: Record uis -> UIRecordProps srf (RecordMsg rmsg) (RecordState rsta) -> UI srf (RecordMsg rmsg) (RecordState rsta)
Instances
(MapProp "init" uis inits, MapProp "update" uis updates, MapProp "view" uis views, InitRecord inits rsta, UpdateRecord updates rmsg rsta, ViewRecord srf views rmsg rsta) => UIRecord uis srf rmsg rsta