mirror of
https://github.com/haskell-effectful/effectful.git
synced 2024-11-27 01:45:16 +03:00
Accurate argument name
This commit is contained in:
parent
f9bc460236
commit
408bd829ae
@ -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
|
||||
--
|
||||
|
Loading…
Reference in New Issue
Block a user