-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MonadSTM #22
Comments
Seems reasonable. Want to make a PR? |
Sure |
Is there any movement on this? Or is there another recommended path? It seems like wanting to have your TVars in a MonadReader instance would be a pretty common use case |
As far as I can tell the PR is ready to merge |
Hey, any updates on this issue? I too would love to use it from the stm package. |
I'm not sure if it's a good idea to provide instances for both STM and IO. Unlike If the usecase is about monads like |
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:
The text was updated successfully, but these errors were encountered: