Merge pull request #702 from cotrone/master
Fix logWriterTLNat documentation typo
This commit is contained in:
commit
be723b85bc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue