Skip to content

Commit c8862fe

Browse files
Merge #4815
4815: Refactor code using onLeft and onNothing r=Jimbo4350 a=newhoggy Using `onLeft` and `onNothing` gives more opportunities for straight line code. Examples of this are marked. Modifying the code elsewhere as well for general consistency. This PR is divided into multiple commits to group related changes for easy review. Note, `throwE` from `Control.Monad.Trans.Except` is the same as `left` from `Control.Monad.Trans.Except.Extra`. Co-authored-by: John Ky <[email protected]>
2 parents 0a2f860 + f0571e9 commit c8862fe

File tree

2 files changed

+144
-175
lines changed
  • cardano-cli/src/Cardano/CLI/Shelley/Run
  • trace-dispatcher/src/Cardano/Logging/Tracer

2 files changed

+144
-175
lines changed

0 commit comments

Comments
 (0)