Skip to content

Commit

Permalink
Remove extra do
Browse files Browse the repository at this point in the history
  • Loading branch information
paulcadman committed Nov 19, 2024
1 parent 4589960 commit 75b26f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Anoma/Effect/Base.hs
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ runAnomaWithClient :: forall r a. (Members '[Logger, EmbedIO, Error SimpleError]
runAnomaWithClient grpcInfo body =
runProcess
. runReader grpcInfo
$ do
(`interpret` inject body) $ \case
AnomaRpc method i -> anomaRpc' method i
$ (`interpret` inject body)
$ \case
AnomaRpc method i -> anomaRpc' method i

launchAnoma :: (Members '[Logger, EmbedIO, Error SimpleError] r) => AnomaPath -> Sem r ProcessHandle
launchAnoma anomapath = runReader anomapath . runProcess $ do
Expand Down

0 comments on commit 75b26f7

Please sign in to comment.