[commit: ghc] master: Move Applicative/MonadPlus into GHC.Base (a94dc4c)

git at git.haskell.org git at git.haskell.org
Thu Sep 18 21:13:20 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/a94dc4c3067c6a0925e2e39f35ef0930771535f1/ghc

>---------------------------------------------------------------

commit a94dc4c3067c6a0925e2e39f35ef0930771535f1
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Thu Sep 18 23:05:40 2014 +0200

    Move Applicative/MonadPlus into GHC.Base
    
    This is necessary in order to invert the import-dependency between
    Data.Foldable and Control.Monad (for addressing #9586)
    
    This also updates the `binary` submodule to qualify a GHC.Base import
    
    Reviewed By: austin
    
    Differential Revision: https://phabricator.haskell.org/D223


>---------------------------------------------------------------

a94dc4c3067c6a0925e2e39f35ef0930771535f1
 libraries/base/Control/Applicative.hs              |  9 +--
 libraries/base/Control/Monad.hs                    | 72 ----------------------
 libraries/base/Data/Data.hs                        |  1 -
 libraries/base/Data/Foldable.hs                    |  6 +-
 libraries/base/Data/Typeable/Internal.hs           |  5 +-
 libraries/base/GHC/Base.lhs                        | 71 +++++++++++++++++++++
 libraries/base/GHC/Conc/Sync.lhs                   |  1 -
 libraries/base/GHC/Enum.lhs                        |  2 +-
 libraries/base/GHC/Event/Array.hs                  |  2 +-
 libraries/base/GHC/Event/PSQ.hs                    |  2 +-
 libraries/base/System/IO/Error.hs                  |  4 --
 libraries/base/Text/ParserCombinators/ReadP.hs     |  4 +-
 libraries/base/Text/ParserCombinators/ReadPrec.hs  |  1 -
 libraries/binary                                   |  2 +-
 testsuite/tests/ghci/scripts/ghci025.stdout        |  2 +-
 testsuite/tests/ghci/scripts/ghci027.stdout        |  8 +--
 testsuite/tests/simplCore/should_compile/T5359a.hs |  2 +-
 17 files changed, 91 insertions(+), 103 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc a94dc4c3067c6a0925e2e39f35ef0930771535f1


More information about the ghc-commits mailing list