mirror of
https://github.com/sayo-hs/heftia.git
synced 2024-11-22 18:36:15 +03:00
[fix] ambiguous identifier in Haddock.
This commit is contained in:
parent
3cabf104c1
commit
4843318f44
@ -38,7 +38,7 @@ runWriterPre = runTell . runWriterHPre
|
||||
runTell :: (Monoid w) => Eff '[] (Tell w ': ef) a -> Eff '[] ef (w, a)
|
||||
runTell = interpretStateBy mempty (curry pure) handleTell
|
||||
|
||||
-- | A handler function for the 'Tell' effect.
|
||||
-- | A handler function for the t'Tell' effect.
|
||||
handleTell :: (Monoid w) => StateInterpreter w (Tell w) (Eff '[] ef) (w, a)
|
||||
handleTell (Tell w') w k = k (w <> w') ()
|
||||
{-# INLINE handleTell #-}
|
||||
|
Loading…
Reference in New Issue
Block a user