on master help sign in
Accurate argument name
commit408bd829aec0d81b06a382f43d6507e9b814b24d authorAndrzej Rybczak <andrzej@rybczak.net> dateWed 14 Jul 2021, 15:41 (5 years ago) parentf9bc460
1 file changed+2−2
src/Effectful/Handler.hs+2−2
src/Effectful/Handler.hs+2−2
@@ -209,9 +209,9 @@ withLiftMap
209209 -- ^ Continuation with the lifting function in scope.
210210 -> Eff es r
211211withLiftMap k = unsafeEff $ \es -> do
212− (`unEff` es) $ k $ \mapIO m -> unsafeEff $ \localEs -> do
212+ (`unEff` es) $ k $ \mapEff m -> unsafeEff $ \localEs -> do
213213 unsafeSeqUnliftEff localEs $ \unlift -> do
214− (`unEff` es) . mapIO . liftIO $ unlift m
214+ (`unEff` es) . mapEff . liftIO $ unlift m
215215
216216-- | Utility for lifting 'IO' operations of type
217217--