Fix logWriterTLNat documentation typo
This commit is contained in:
parent
8a3ecb2ebc
commit
1ddda2ff75
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