Module
Concur.Core
- Package
- purescript-concur-react
- Repository
- ajnsit/purescript-concur
#mkLeafWidget Source
mkLeafWidget :: forall v a. ((a -> Effect Unit) -> v) -> Widget v aConstruct a widget with just props
#withViewEvent Source
withViewEvent :: forall v a. ((a -> Effect Unit) -> v) -> Widget v aConstruct a widget from a primitive view event
#wrapViewEvent Source
wrapViewEvent :: forall v a. ((a -> Effect Unit) -> v -> v) -> Widget v a -> Widget v aConstruct a widget, by wrapping an existing widget in a view event
#wrapViewEvent' Source
wrapViewEvent' :: forall v a. ((a -> Effect Unit) -> v -> v) -> Free (WidgetStep v) a -> Free (WidgetStep v) aRe-exports from Concur.Core.IsWidget
#IsWidget Source
class (Monad m, Monoid v, ShiftMap (Widget v) m, LiftWidget v m, MultiAlternative m) <= IsWidget v m A Nice way to bring into scope all needed functionality which we need to write widgets
Instances
Re-exports from Concur.Core.LiftWidget
#LiftWidget Source
class LiftWidget v m whereA way to lift widgets into higher monads
Members
liftWidget :: forall a. Widget v a -> m a
Instances
LiftWidget v (Widget v)(Monad m, LiftWidget v m) => LiftWidget v (ExceptT e m)(Monoid w, Monad m, LiftWidget v m) => LiftWidget v (RWST r w s m)(Monad m, LiftWidget v m) => LiftWidget v (ReaderT r m)(Monad m, LiftWidget v m) => LiftWidget v (StateT s m)(Monoid s, Monad m, LiftWidget v m) => LiftWidget v (WriterT s m)
Re-exports from Concur.Core.Types
#WidgetStep Source
newtype WidgetStep v aConstructors
WidgetStep (Effect (Either a (WidgetStepRecord v a)))
Instances
Functor (WidgetStep v)
#Widget Source
newtype Widget v aConstructors
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)
- 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 - Concur.
React - Concur.
React. DOM - Concur.
React. Props - Concur.
React. Run - Concur.
React. SVG - Concur.
React. Widgets - Control.
Cofree - Control.
MultiAlternative - Control.
ShiftMap