@@ -120,7 +120,7 @@ localSeqUnlift
120120 -- ^ Continuation with the unlifting function in scope.
121121 -> Eff es a
122122localSeqUnlift (LocalEnv les) k = unsafeEff $ \es -> do
123− unsafeSeqUnliftEff les $ \unlift -> do
123+ seqUnliftEff les $ \unlift -> do
124124 (`unEff` es) $ k $ unsafeEff_ . unlift
125125
126126-- | Create a local unlifting function with the 'SeqUnlift' strategy. For the
@@ -132,7 +132,7 @@ localSeqUnliftIO
132132 -> ((forall r. Eff localEs r -> IO r) -> IO a)
133133 -- ^ Continuation with the unlifting function in scope.
134134 -> Eff es a
135−localSeqUnliftIO (LocalEnv les) k = liftIO $ unsafeSeqUnliftEff les k
135+localSeqUnliftIO (LocalEnv les) k = liftIO $ seqUnliftEff les k
136136
137137-- | Create a local unlifting function with the given strategy.
138138localUnlift
@@ -145,10 +145,10 @@ localUnlift
145145 -> Eff es a
146146localUnlift (LocalEnv les) strategy k = case strategy of
147147 SeqUnlift -> unsafeEff $ \es -> do
148− unsafeSeqUnliftEff les $ \unlift -> do
148+ seqUnliftEff les $ \unlift -> do
149149 (`unEff` es) $ k $ unsafeEff_ . unlift
150150 ConcUnlift p l -> unsafeEff $ \es -> do
151− unsafeConcUnliftEff les p l $ \unlift -> do
151+ concUnliftEff les p l $ \unlift -> do
152152 (`unEff` es) $ k $ unsafeEff_ . unlift
153153
154154-- | Create a local unlifting function with the given strategy.
@@ -161,8 +161,8 @@ localUnliftIO
161161 -- ^ Continuation with the unlifting function in scope.
162162 -> Eff es a
163163localUnliftIO (LocalEnv les) strategy k = case strategy of
164− SeqUnlift -> liftIO $ unsafeSeqUnliftEff les k
165− ConcUnlift p l -> liftIO $ unsafeConcUnliftEff les p l k
164+ SeqUnlift -> liftIO $ seqUnliftEff les k
165+ ConcUnlift p l -> liftIO $ concUnliftEff les p l k
166166
167167-- | Utility for lifting 'Eff' operations of type
168168--
@@ -181,7 +181,7 @@ withLiftMap
181181 -> Eff es r
182182withLiftMap k = unsafeEff $ \es -> do
183183 (`unEff` es) $ k $ \mapEff m -> unsafeEff $ \localEs -> do
184− unsafeSeqUnliftEff localEs $ \unlift -> do
184+ seqUnliftEff localEs $ \unlift -> do
185185 (`unEff` es) . mapEff . liftIO $ unlift m
186186
187187-- | Utility for lifting 'IO' operations of type
@@ -215,7 +215,7 @@ withLiftMapIO
215215 -- ^ Continuation with the lifting function in scope.
216216 -> Eff es r
217217withLiftMapIO k = k $ \mapIO m -> unsafeEff $ \es -> do
218− unsafeSeqUnliftEff es $ \unlift -> mapIO $ unlift m
218+ seqUnliftEff es $ \unlift -> mapIO $ unlift m
219219
220220----------------------------------------
221221-- Bidirectional lifts
@@ -237,12 +237,12 @@ localLiftUnlift
237237 -> Eff es a
238238localLiftUnlift (LocalEnv les) strategy k = case strategy of
239239 SeqUnlift -> unsafeEff $ \es -> do
240− unsafeSeqUnliftEff es $ \unliftEs -> do
241− unsafeSeqUnliftEff les $ \unliftLocalEs -> do
240+ seqUnliftEff es $ \unliftEs -> do
241+ seqUnliftEff les $ \unliftLocalEs -> do
242242 (`unEff` es) $ k (unsafeEff_ . unliftEs) (liftIO . unliftLocalEs)
243243 ConcUnlift p l -> unsafeEff $ \es -> do
244− unsafeConcUnliftEff es p l $ \unliftEs -> do
245− unsafeConcUnliftEff les p l $ \unliftLocalEs -> do
244+ concUnliftEff es p l $ \unliftEs -> do
245+ concUnliftEff les p l $ \unliftLocalEs -> do
246246 (`unEff` es) $ k (unsafeEff_ . unliftEs) (liftIO . unliftLocalEs)
247247
248248-- | Create a local unlifting function with the given strategy along with an
@@ -262,8 +262,8 @@ localLiftUnliftIO
262262 -- ^ Continuation with the lifting and unlifting function in scope.
263263 -> Eff es a
264264localLiftUnliftIO (LocalEnv les) strategy k = case strategy of
265− SeqUnlift -> liftIO $ unsafeSeqUnliftEff les $ k unsafeEff_
266− ConcUnlift p l -> liftIO $ unsafeConcUnliftEff les p l $ k unsafeEff_
265+ SeqUnlift -> liftIO $ seqUnliftEff les $ k unsafeEff_
266+ ConcUnlift p l -> liftIO $ concUnliftEff les p l $ k unsafeEff_
267267
268268-- $setup
269269-- >>> import Control.Concurrent