Skip to content

Commit 83a2e8c

Browse files
committed
Refactor (simplify)
1 parent e52ec08 commit 83a2e8c

File tree

1 file changed

+1
-1
lines changed
  • src/Control/Distributed/Process/Management

1 file changed

+1
-1
lines changed

src/Control/Distributed/Process/Management/Agent.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ mxAgentController forkProcess mv = do
9494
-- (e.g., passing unevaluated thunks that will crash when
9595
-- they're eventually forced) are thus silently ignored.
9696
--
97-
matchAny (\msg -> liftIO $ broadcast bus tracer msg)
97+
matchAny (liftIO . broadcast bus tracer)
9898
] `catches` [Handler (\ThreadKilled -> die "Killed"),
9999
Handler (\(_ :: SomeException) -> return ())]
100100

0 commit comments

Comments
 (0)