Export `Monoid(..)`/`Foldable(..)`/`Traversable(..)` from Prelude
This finally exposes also the methods of these 3 classes in the Prelude in order to allow to define basic class instances w/o needing imports. This almost completes the primary goal of #9586 NOTE: `fold`, `foldl'`, `foldr'`, and `toList` are not exposed yet, as they require upstream fixes for at least `containers` and `bytestring`, and are not required for defining basic instances. Reviewed By: ekmett, austin Differential Revision: https://phabricator.haskell.org/D236
Showing
- compiler/deSugar/MatchLit.lhs 2 additions, 0 deletionscompiler/deSugar/MatchLit.lhs
- compiler/ghci/RtClosureInspect.hs 2 additions, 0 deletionscompiler/ghci/RtClosureInspect.hs
- compiler/hsSyn/HsBinds.lhs 1 addition, 1 deletioncompiler/hsSyn/HsBinds.lhs
- compiler/iface/TcIface.lhs 2 additions, 0 deletionscompiler/iface/TcIface.lhs
- compiler/main/Packages.lhs 2 additions, 0 deletionscompiler/main/Packages.lhs
- compiler/rename/RnBinds.lhs 3 additions, 0 deletionscompiler/rename/RnBinds.lhs
- compiler/rename/RnSource.lhs 2 additions, 0 deletionscompiler/rename/RnSource.lhs
- compiler/typecheck/TcEvidence.lhs 2 additions, 0 deletionscompiler/typecheck/TcEvidence.lhs
- compiler/typecheck/TcHsSyn.lhs 2 additions, 0 deletionscompiler/typecheck/TcHsSyn.lhs
- compiler/typecheck/TcPatSyn.lhs 2 additions, 0 deletionscompiler/typecheck/TcPatSyn.lhs
- compiler/types/Coercion.lhs 2 additions, 0 deletionscompiler/types/Coercion.lhs
- compiler/utils/Pair.lhs 4 additions, 2 deletionscompiler/utils/Pair.lhs
- compiler/utils/UniqFM.lhs 6 additions, 1 deletioncompiler/utils/UniqFM.lhs
- libraries/base/Prelude.hs 25 additions, 11 deletionslibraries/base/Prelude.hs
- libraries/base/changelog.md 7 additions, 0 deletionslibraries/base/changelog.md
- mk/validate-settings.mk 9 additions, 0 deletionsmk/validate-settings.mk
- testsuite/tests/ghci.debugger/mdo.hs 2 additions, 1 deletiontestsuite/tests/ghci.debugger/mdo.hs
- testsuite/tests/ghci.debugger/scripts/break018.stdout 4 additions, 4 deletionstestsuite/tests/ghci.debugger/scripts/break018.stdout
- testsuite/tests/ghci.debugger/scripts/dynbrk004.stdout 1 addition, 1 deletiontestsuite/tests/ghci.debugger/scripts/dynbrk004.stdout
- testsuite/tests/ghci/scripts/T4175.stdout 2 additions, 0 deletionstestsuite/tests/ghci/scripts/T4175.stdout
Loading
Please register or sign in to comment