Could this MonadSTM type class be adopted by the stm package?
It would be useful for certain abstractions such as the "console region" defined in concurrent-output, which currently defines its own equivalent type class.
My use case involves a monad transformer atop such a thing; I want to write a type signature like:
(MonadReader Env m, MonadSTM m) => m ()
Could this MonadSTM type class be adopted by the
stmpackage?It would be useful for certain abstractions such as the "console region" defined in concurrent-output, which currently defines its own equivalent type class.
My use case involves a monad transformer atop such a thing; I want to write a type signature like: