Module

MVC.Types

Package
purescript-mvc
Repository
thought2/purescript-mvc

#UI Source

type UI :: (Type -> Type) -> Type -> Type -> Typetype UI srf msg sta = { init :: sta, update :: msg -> sta -> sta, view :: sta -> srf msg }

#uiFromView Source

uiFromView :: forall srf msg. srf msg -> UI srf msg Unit