Merge pull request #702 from cotrone/master

Fix logWriterTLNat documentation typo
This commit is contained in:
Oleg Grenrus 2017-02-15 19:30:49 +02:00 committed by GitHub
commit be723b85bc

View file

@ -65,7 +65,7 @@ logWriterTSNat logger = NT $ \x -> do
liftIO $ logger w
return a
-- | Like `logWriterTSNat`, but for strict @WriterT@.
-- | Like `logWriterTSNat`, but for lazy @WriterT@.
logWriterTLNat :: MonadIO m => (w -> IO ()) -> (LWriter.WriterT w m :~> m)
logWriterTLNat logger = NT $ \x -> do
(a, w) <- LWriter.runWriterT x