Safe Haskell | None |
---|---|
Language | Haskell98 |
Synopsis
- newtype Workflow t m a = Workflow {
- unWorkflow :: m (a, Event t (Workflow t m a))
- workflow :: forall t m a. (Reflex t, Adjustable t m, MonadFix m, MonadHold t m) => Workflow t m a -> m (Dynamic t a)
- workflowView :: forall t m a. (Reflex t, NotReady t m, Adjustable t m, MonadFix m, MonadHold t m, PostBuild t m) => Workflow t m a -> m (Event t a)
- mapWorkflow :: (Reflex t, Functor m) => (a -> b) -> Workflow t m a -> Workflow t m b
- mapWorkflowCheap :: (Reflex t, Functor m) => (a -> b) -> Workflow t m a -> Workflow t m b
Documentation
newtype Workflow t m a Source #
A widget in a workflow
When the Event
returned by a Workflow
fires, the current Workflow
is replaced by the one inside the firing Event
. A series of Workflow
s must share the same return type.
Workflow | |
|
workflow :: forall t m a. (Reflex t, Adjustable t m, MonadFix m, MonadHold t m) => Workflow t m a -> m (Dynamic t a) Source #
workflowView :: forall t m a. (Reflex t, NotReady t m, Adjustable t m, MonadFix m, MonadHold t m, PostBuild t m) => Workflow t m a -> m (Event t a) Source #