remove MonadFail instances of ST
CLC proposal: https://github.com/haskell/core-libraries-committee/issues/33 The instances had `fail` implemented in terms of `error`, whereas the idea of the `MonadFail` class is that the `fail` method should be implemented in terms of the monad itself.
Showing
- libraries/base/Control/Monad/ST/Lazy/Imp.hs 0 additions, 4 deletionslibraries/base/Control/Monad/ST/Lazy/Imp.hs
- libraries/base/GHC/ST.hs 0 additions, 5 deletionslibraries/base/GHC/ST.hs
- libraries/base/changelog.md 5 additions, 0 deletionslibraries/base/changelog.md
- testsuite/tests/ghci/scripts/T4175.stdout 1 addition, 1 deletiontestsuite/tests/ghci/scripts/T4175.stdout
- testsuite/tests/monadfail/MonadFailErrors.hs 0 additions, 7 deletionstestsuite/tests/monadfail/MonadFailErrors.hs
- testsuite/tests/monadfail/MonadFailErrors.stderr 1 addition, 1 deletiontestsuite/tests/monadfail/MonadFailErrors.stderr
Loading
Please register or sign in to comment