Open michaelmesser opened 7 years ago
Are you transforming the Dynamic t monad?
@cgibbard Like MaybeT (Dynamic t) or EitherT (Dynamic t)
I suppose you can do that. It's something that I hadn't considered so much because the Monad instance for Dynamic is so much less commonly used (at least in my experience) than the Applicative and Functor instances, that I hadn't thought very much about it.
If you're doing a great deal of transforming Dynamic, it would make good sense to have a liftDynamic, but it's just not something that's ever come up for me.
MonadBase
probably covers this well enough that we don't need to create a new class.
Should the be a MonadDynamic typeclass? (like MonadIO). This would make working with monad stacks easier.
Time might make this more difficult.