Module
Concur.Core.Types
- Package
- purescript-concur-core
- Repository
- purescript-concur/purescript-concur-core
#WidgetStepRecord Source
type WidgetStepRecord v a = { cont :: Aff a, view :: v }
#WidgetStep Source
newtype WidgetStep v a
Constructors
WidgetStep (Either (Effect a) (WidgetStepRecord v a))
Instances
Functor (WidgetStep v)
#unWidgetStep Source
unWidgetStep :: forall a v. WidgetStep v a -> Either (Effect a) (WidgetStepRecord v a)
#displayStep Source
displayStep :: forall v a. v -> WidgetStep v a
#Widget Source
newtype Widget v a
Constructors
Widget (Free (WidgetStep v) a)
Instances
Functor (Widget v)
Bind (Widget v)
Applicative (Widget v)
Apply (Widget v)
Monad (Widget v)
MonadRec (Widget v)
ShiftMap (Widget v) (Widget v)
(Monoid v) => MultiAlternative (Widget v)
(Monoid v) => Semigroup (Widget v a)
(Monoid v) => Monoid (Widget v a)
(Monoid v) => Alt (Widget v)
(Monoid v) => Plus (Widget v)
(Monoid v) => Alternative (Widget v)
(Monoid v) => MonadEffect (Widget v)
(Monoid v) => MonadAff (Widget v)
#flipEither Source
flipEither :: forall b a. Either a b -> Either b a
#mapViewStep Source
mapViewStep :: forall a v2 v1. (v1 -> v2) -> WidgetStep v1 a -> WidgetStep v2 a
- Modules
- Concur.
Core - Concur.
Core. DOM - Concur.
Core. DevTools - Concur.
Core. Discharge - Concur.
Core. ElementBuilder - Concur.
Core. FRP - Concur.
Core. Gen - Concur.
Core. IsWidget - Concur.
Core. LiftWidget - Concur.
Core. Patterns - Concur.
Core. Props - Concur.
Core. Types - Control.
Cofree - Control.
MonadFix - Control.
MultiAlternative - Control.
ShiftMap