Module
MVC.Variant.Init
- Package
- purescript-mvc
- Repository
- thought2/purescript-mvc
#InitVariant Source
class InitVariant :: Symbol -> Row Type -> Row Type -> Constraint
class InitVariant (sym :: Symbol) (initstates :: Row Type) (rsta :: Row Type) where
Members
initVariant :: Proxy sym -> Record initstates -> VariantState rsta
Instances
(Cons sym sta initstatesx initstates, Cons sym sta rstax rsta, IsSymbol sym) => InitVariant sym initstates rsta