-
Notifications
You must be signed in to change notification settings - Fork 65
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
No instances for recently-added monads from transformers #44
Comments
We should definitely add instances for As far as how I think there are enough design questions here that it would be beneficial to draft up a sketch of how this would work and propose it to the Haskell libraries mailing list for feedback. |
I think that |
@fizruk, that sounds reasonable to me. But the design of these |
I'm also leaning towards adding MonadAccum and the like. |
I just got bitten by the lack of a |
See also #38 |
This is resolved in master, pending 2.3 release |
Control.Monad.Trans.Accum was added in transformers 0.5.3.0, but currently it's slightly painful to use because it doesn't have the usual MonadState, MonadReader, etc instances yet.
Whether it should get a MonadWriter instance that lifts the operations to the inner monad or handles them itself is a question.
SelectT was also added in transformers 0.5.3.0 and similarly lacks instances.
The text was updated successfully, but these errors were encountered: