git.iko.soy/distributed-process
on master help sign in
Refactor (simplify)
commit83a2e8cccf7ba9e530e9ee35a7acf9ccd8e74a25 authorTim Watson <watson.timothy@gmail.com> dateFri 3 Jan 2014, 11:49 (13 years ago) parente52ec08
1 file changed+1−1
src/Control/Distributed/Process/Management/Agent.hs+1−1
src/Control/Distributed/Process/Management/Agent.hs+1−1
@@ -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