| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Reflex.BehaviorWriter.Class
Description
Synopsis
- type MonadBehaviorWriter = BehaviorWriter
- class (Monad m, Monoid w) => BehaviorWriter t w (m :: Type -> Type) | m -> t w where
- tellBehavior :: Behavior t w -> m ()
Documentation
type MonadBehaviorWriter = BehaviorWriter Source #
Deprecated: Use BehaviorWriter instead
Type synonym for BehaviorWriter
class (Monad m, Monoid w) => BehaviorWriter t w (m :: Type -> Type) | m -> t w where Source #
BehaviorWriter efficiently collects Behavior values using tellBehavior
and combines them monoidally to provide a Behavior result.
Methods
tellBehavior :: Behavior t w -> m () Source #
Instances
| BehaviorWriter t w m => BehaviorWriter t w (ReaderT r m) Source # | |
Defined in Reflex.BehaviorWriter.Class Methods tellBehavior :: Behavior t w -> ReaderT r m () Source # | |
| (Monad m, Monoid w, Reflex t) => BehaviorWriter t w (BehaviorWriterT t w m) Source # | |
Defined in Reflex.BehaviorWriter.Base Methods tellBehavior :: Behavior t w -> BehaviorWriterT t w m () Source # | |
| BehaviorWriter t w m => BehaviorWriter (ProfiledTimeline t) w (ProfiledM m) Source # | |
Defined in Reflex.Profiled Methods tellBehavior :: Behavior (ProfiledTimeline t) w -> ProfiledM m () Source # | |