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

withTimedFastLogger and MonadIO #128

Open
AlexeyRaga opened this issue Apr 4, 2017 · 2 comments
Open

withTimedFastLogger and MonadIO #128

AlexeyRaga opened this issue Apr 4, 2017 · 2 comments

Comments

@AlexeyRaga
Copy link

withTimedFastLogger currently has this signature:

withTimedFastLogger :: IO FormattedTime -> LogType -> (TimedFastLogger -> IO a) -> IO a

Is it possible to have a lifted one?

withTimedFastLogger :: MonadIO m => m FormattedTime -> LogType -> (TimedFastLogger -> m a) -> m a
@kazu-yamamoto
Copy link
Owner

I believe that withTimedFastLogger was implemented by @winterland1989.
@winterland1989 Would you discuss this with @AlexeyRaga?

@winterland1989
Copy link
Contributor

I am always in favor of raw IO type, it helps when you want to lift multiple IO action without multiple times lift.

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

3 participants