Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <john.ky@iohk.io>
- Loading branch information