Module
MVC.Variant.Types
- Package
- purescript-mvc
- Repository
- thought2/purescript-mvc
#VariantMsg Source
data VariantMsg :: Row Type -> Row Type -> Type
data VariantMsg rcase rmsg
Constructors
ChildCaseMsg (Variant rmsg)
ChangeCase (Variant rcase)
ErrMsg String
Instances
Generic (VariantMsg rcase rmsg) _
(RowToList rcase rlcase, RowToList rmsg rlmsg, VariantTags rlcase, VariantTags rlmsg, VariantShows rlcase, VariantShows rlmsg) => Show (VariantMsg rcase rmsg)
(RowToList rcase rlcase, RowToList rmsg rlmsg, VariantTags rlcase, VariantTags rlmsg, VariantEqs rlcase, VariantEqs rlmsg) => Eq (VariantMsg rcase rmsg)
#VariantState Source
newtype VariantState :: Row Type -> Type
newtype VariantState r
Constructors
VariantState (Variant r)
Instances
Newtype (VariantState r) _
Generic (VariantState r) _
(RowToList r rl, VariantTags rl, VariantShows rl) => Show (VariantState r)
(RowToList r rl, VariantTags rl, VariantEqs rl) => Eq (VariantState r)