[commit: ghc] wip/base-amp-normalisation: base: MRP-refactoring of AMP instances (e5ae9ca)
git at git.haskell.org
git at git.haskell.org
Thu Oct 8 14:35:14 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/base-amp-normalisation
Link : http://ghc.haskell.org/trac/ghc/changeset/e5ae9ca83fada89652ae9989fa66b09a5a578c76/ghc
>---------------------------------------------------------------
commit e5ae9ca83fada89652ae9989fa66b09a5a578c76
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date: Thu Oct 8 16:34:17 2015 +0200
base: MRP-refactoring of AMP instances
This refactors (>>)/(*>)/return/pure methods into normalform.
The redundant explicit `return` method definitions are dropped
altogether.
>---------------------------------------------------------------
e5ae9ca83fada89652ae9989fa66b09a5a578c76
libraries/base/Control/Applicative.hs | 2 +-
libraries/base/Control/Arrow.hs | 1 -
libraries/base/Control/Monad/ST/Lazy/Imp.hs | 4 +---
libraries/base/Data/Complex.hs | 1 -
libraries/base/Data/Either.hs | 1 -
libraries/base/Data/Functor/Identity.hs | 1 -
libraries/base/Data/List/NonEmpty.hs | 1 -
libraries/base/Data/Monoid.hs | 3 ---
libraries/base/Data/Proxy.hs | 2 --
libraries/base/Data/Semigroup.hs | 21 ++++++++-------------
libraries/base/Data/Traversable.hs | 4 ++--
libraries/base/Data/Version.hs | 9 +++++----
libraries/base/GHC/Base.hs | 18 +++++++-----------
libraries/base/GHC/Conc/Sync.hs | 12 ++++++------
libraries/base/GHC/GHCi.hs | 3 +--
libraries/base/GHC/ST.hs | 11 +++++------
libraries/base/Text/ParserCombinators/ReadP.hs | 7 ++-----
libraries/base/Text/ParserCombinators/ReadPrec.hs | 3 +--
18 files changed, 39 insertions(+), 65 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 e5ae9ca83fada89652ae9989fa66b09a5a578c76
More information about the ghc-commits
mailing list