Module

MVC.Record.View

Package
purescript-mvc
Repository
thought2/purescript-mvc

#ViewRecordProps Source

type ViewRecordProps :: (Type -> Type) -> Type -> Typetype ViewRecordProps html msg = { viewEntries :: Array (ViewResult html msg) -> html msg }

#ViewResult Source

type ViewResult :: (Type -> Type) -> Type -> Typetype ViewResult html msg = { key :: String, viewValue :: html msg }

#ViewRecord Source

class ViewRecord :: (Type -> Type) -> Row Type -> Row Type -> Row Type -> Constraintclass ViewRecord (html :: Type -> Type) (views :: Row Type) (rmsg :: Row Type) (rsta :: Row Type)  where

Members

Instances

#ViewRecordRL Source

class ViewRecordRL :: (Type -> Type) -> Row Type -> RowList Type -> Row Type -> Row Type -> Constraintclass ViewRecordRL (html :: Type -> Type) (views :: Row Type) (rl :: RowList Type) (rmsg :: Row Type) (rsta :: Row Type) | rl -> rmsg rsta views where

Members

Instances