| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ema.Dynamic
Documentation
newtype Dynamic (m :: Type -> Type) a Source #
A time-varying value of type a, changing under monad m.
To create a Dynamic, supply the initial value along with a function that
forever updates it using the given monadic update function.
Dynamic's can be composed using Applicative.
Constructors
| Dynamic (a, (a -> m ()) -> m ()) |
Instances
| (MonadUnliftIO m, MonadLogger m) => Applicative (Dynamic m) Source # | |
| Functor (Dynamic m) Source # | |