[fix] ambiguous identifier in Haddock.

This commit is contained in:
Yamada Ryo 2024-11-04 01:54:11 +09:00
parent 3cabf104c1
commit 4843318f44
No known key found for this signature in database
GPG Key ID: AAE3C7A542B02DBF

View File

@ -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 #-}