[commit: ghc] master: Move `mapM` and `sequence` to GHC.Base and break import-cycles (5ed1281)
git at git.haskell.org
git at git.haskell.org
Sun Sep 21 17:15:09 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/5ed12810e0972b1e0d408fe1355805746c4614f9/ghc
>---------------------------------------------------------------
commit 5ed12810e0972b1e0d408fe1355805746c4614f9
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date: Sun Sep 21 19:14:04 2014 +0200
Move `mapM` and `sequence` to GHC.Base and break import-cycles
This simplifies the import graph and more importantly removes import
cycles that arise due to `Control.Monad` & `Data.List` importing
`Data.Traversable` (preparation for #9586)
Reviewed By: ekmett, austin
Differential Revision: https://phabricator.haskell.org/D234
>---------------------------------------------------------------
5ed12810e0972b1e0d408fe1355805746c4614f9
libraries/base/Control/Arrow.hs | 3 +--
libraries/base/Control/Monad.hs | 17 +----------------
libraries/base/Control/Monad/Fix.hs | 3 +--
libraries/base/Data/List.hs | 2 ++
libraries/base/Data/Traversable.hs | 17 ++++++++---------
libraries/base/GHC/Base.lhs | 13 +++++++++++++
libraries/base/GHC/Event/Manager.hs | 7 +++++--
libraries/base/GHC/Event/Thread.hs | 11 ++++++-----
libraries/base/GHC/Event/TimerManager.hs | 2 +-
libraries/base/GHC/ForeignPtr.hs | 2 +-
libraries/base/GHC/IO/Handle.hs | 1 -
libraries/base/Prelude.hs | 2 +-
libraries/base/Text/ParserCombinators/ReadP.hs | 4 ----
testsuite/tests/module/mod176.hs | 4 ++--
14 files changed, 42 insertions(+), 46 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 5ed12810e0972b1e0d408fe1355805746c4614f9
More information about the ghc-commits
mailing list