Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 1dbb441

Browse files
committed
Fix some deprecations &c.
1 parent 157d931 commit 1dbb441

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Analysis/Abstract/Graph.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ runEavesdropC f (EavesdropC m) = m f
161161

162162
instance (Carrier sig m, Member (Modules address value) sig, Applicative m) => Carrier sig (EavesdropC address value m) where
163163
eff op
164-
| Just eff <- prj op = EavesdropC (\ handler -> let eff' = handlePure (runEavesdropC handler) eff in handler eff' *> send eff')
165-
| otherwise = EavesdropC (\ handler -> eff (handlePure (runEavesdropC handler) op))
164+
| Just eff <- prj op = EavesdropC (\ handler -> let eff' = hmap (runEavesdropC handler) eff in handler eff' *> send eff')
165+
| otherwise = EavesdropC (\ handler -> eff (hmap (runEavesdropC handler) op))
166166

167167
-- | Add an edge from the current package to the passed vertex.
168168
packageInclusion :: ( Member (Reader PackageInfo) sig

src/Semantic/REPL.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ repl proxy parser paths =
6060
withOptions debugOptions $ \config logger statter ->
6161
runM
6262
. withDistribute
63-
. withCatch
63+
. runCatch
6464
. runResource
6565
. withTimeout
6666
. runError @SomeException

src/Semantic/Task.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ runTask taskSession@TaskSession{..} task = do
158158
run
159159
= runM
160160
. withDistribute
161-
. withCatch
161+
. runCatch
162162
. runResource
163163
. withTimeout
164164
. runError

0 commit comments

Comments
 (0)