Version 0.10 migrates the implementation of fail from Monad to MonadFail. However in the code the version of fail is imported from Prelude. This means for GHC 8.6 or earlier the incorrect version of fail is called, causing all calls to fail to raise exception rather than gracefully returning Left.
Version 0.10 migrates the implementation of
fail
fromMonad
toMonadFail
. However in the code the version offail
is imported from Prelude. This means for GHC 8.6 or earlier the incorrect version offail
is called, causing all calls tofail
to raise exception rather than gracefully returningLeft
.