Closed vaibhavsagar closed 6 years ago
I see that this fails on GHC < 8.0. Do I use CPP
, enable NoMonadFailDesugaring
. or something else?
Edit: I've conditionally depended on fail
since we already do this for semigroups
.
btw, if the MonadFail instances are exposed via the API, this requires a minor version bump (i.e. it's a benign API addition)
Thanks!
This is needed for GHC 8.6.1.