Skip to content
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

Requirement of (MonadIO m) in the instance of MonadLogger (NoLoggingT m) is redundance #48

Closed
ruiheng opened this issue Nov 4, 2014 · 1 comment

Comments

@ruiheng
Copy link

ruiheng commented Nov 4, 2014

Sometimes I need to add logging facilities in pure code for debugging. I implement that by using StateT and Identity. When no debug is needed, I think I can use NoLoggingT and Identity, but MonadIO Identity requirement is in the way.

Is there any better way to do what I want? Am I wrong in something?

Thanks a lot.

Gilbert Fine

snoyberg added a commit that referenced this issue Nov 4, 2014
@snoyberg
Copy link
Collaborator

snoyberg commented Nov 4, 2014

Good catch, that was accidental. It's now corrected in release 0.3.8.

@snoyberg snoyberg closed this as completed Nov 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants