withTimedFastLogger and MonadIO
Opened this issue · 2 comments
AlexeyRaga commented
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 commented
I believe that withTimedFastLogger
was implemented by @winterland1989.
@winterland1989 Would you discuss this with @AlexeyRaga?
winterland1989 commented
I am always in favor of raw IO
type, it helps when you want to lift multiple IO
action without multiple times lift
.