Don't re-export `Alternative(..)` from Control.Monad (re #9586)
This was done in d94de872 to avoid orphans but since a94dc4c3 moved `Alternative` into GHC.Base, this isn't needed anymore. This is important, as otherwise this would require a non-neglectable amount of `Control.Monad hiding ((<|>), empty)` imports in user code. The Haddock submodule is updated as well Test Plan: partial local ./validate --fast, let Harbormaster doublecheck it Reviewed By: ekmett, austin Differential Revision: https://phabricator.haskell.org/D248
Showing
- compiler/main/ErrUtils.lhs 0 additions, 4 deletionscompiler/main/ErrUtils.lhs
- compiler/parser/RdrHsSyn.lhs 0 additions, 4 deletionscompiler/parser/RdrHsSyn.lhs
- compiler/prelude/PrelRules.lhs 3 additions, 1 deletioncompiler/prelude/PrelRules.lhs
- compiler/typecheck/TcRnDriver.lhs 0 additions, 4 deletionscompiler/typecheck/TcRnDriver.lhs
- compiler/utils/IOEnv.hs 0 additions, 2 deletionscompiler/utils/IOEnv.hs
- ghc/InteractiveUI.hs 1 addition, 1 deletionghc/InteractiveUI.hs
- libraries/base/Control/Monad.hs 0 additions, 1 deletionlibraries/base/Control/Monad.hs
- testsuite/tests/typecheck/should_compile/T4524.hs 2 additions, 1 deletiontestsuite/tests/typecheck/should_compile/T4524.hs
- testsuite/tests/typecheck/should_compile/tc213.hs 1 addition, 1 deletiontestsuite/tests/typecheck/should_compile/tc213.hs
- utils/haddock 1 addition, 1 deletionutils/haddock
Loading
Please register or sign in to comment