Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
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
.
Dynamic (a, (a -> m ()) -> m ()) |
Instances
(MonadUnliftIO m, MonadLogger m) => Applicative (Dynamic m) Source # | |
Functor (Dynamic m) Source # | |