-
Notifications
You must be signed in to change notification settings - Fork 33
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
MonadReader instance for Codensity #10
Comments
I'm somewhat torn. On one hand, yes, it can be implemented. On the other hand, it is effectively saying "hey I have a state, which is large enough to implement the MonadReader API as well". It seems analogous to me to wanting |
@ekmett that's a fair point. The main reason I meant to add In any case, the solution in the absence of this instance is trivial enough that I'm not going to argue strongly for it, though it seems like a nice thing to have. |
Merged. I'd rather have the instance than not, and it's not like there is a viable alternative instance. |
Is there a particular reason that
Codensity
does not implementMonadReader
? If not, I'd be happy to submit a patch. Thanks!The text was updated successfully, but these errors were encountered: