on master help sign in
Haddock improvement
1811b91Andrzej Rybczak
effectful-core/src/Effectful/Writer/Local.hs+3−3
@@ -55,9 +55,9 @@ tell w = stateData $ \(DataA (Writer w0)) -> ((), DataA (Writer (w0 <> w)))
55-- | Execute an action and append its output to the overall output of the
55-- | Execute an action and append its output to the overall output of the
56-- 'Writer'.
56-- 'Writer'.
57--
57--
58−-- /Note:/ if a runtime exception is received while the action is executed, the
58+-- /Note:/ if an exception is received while the action is executed, the partial
59−-- partial output of the action will still be appended to the overall output of
59+-- output of the action will still be appended to the overall output of the
60−-- the 'Writer':
60+-- 'Writer':
61--
61--
62-- >>> :{
62-- >>> :{
63-- runEff . execWriter @String $ do
63-- runEff . execWriter @String $ do
effectful-core/src/Effectful/Writer/Shared.hs+3−3
@@ -59,9 +59,9 @@ tell w1 = unsafeEff $ \es -> do
59-- | Execute an action and append its output to the overall output of the
59-- | Execute an action and append its output to the overall output of the
60-- 'Writer'.
60-- 'Writer'.
61--
61--
62−-- /Note:/ if a runtime exception is received while the action is executed, the
62+-- /Note:/ if an exception is received while the action is executed, the partial
63−-- partial output of the action will still be appended to the overall output of
63+-- output of the action will still be appended to the overall output of the
64−-- the 'Writer':
64+-- 'Writer':
65--
65--
66-- >>> :{
66-- >>> :{
67-- runEff . execWriter @String $ do
67-- runEff . execWriter @String $ do