Accurate argument name

This commit is contained in:
Andrzej Rybczak 2021-07-14 15:41:33 +02:00
parent f9bc460236
commit 408bd829ae

View File

@ -209,9 +209,9 @@ withLiftMap
-- ^ Continuation with the lifting function in scope.
-> Eff es r
withLiftMap k = unsafeEff $ \es -> do
(`unEff` es) $ k $ \mapIO m -> unsafeEff $ \localEs -> do
(`unEff` es) $ k $ \mapEff m -> unsafeEff $ \localEs -> do
unsafeSeqUnliftEff localEs $ \unlift -> do
(`unEff` es) . mapIO . liftIO $ unlift m
(`unEff` es) . mapEff . liftIO $ unlift m
-- | Utility for lifting 'IO' operations of type
--