#3339: Data.Monoid: Add (<>) as a synonym for mappend
-------------------------------+--------------------------------------------
Reporter: bos | Owner:
Type: feature request | Status: closed
Priority: normal | Milestone: Not GHC
Component: libraries/base | Version: 7.3
Resolution: fixed | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related:
-------------------------------+--------------------------------------------
Changes (by tibbe):
* status: patch => closed
* resolution: => fixed
Comment:
Fixed in ghc-7.4 branch.
ghc:
{{{
commit 7dfa17d4ed8fa7604cb681e375133db4773b8910
Author: Johan Tibell <[email protected]>
Date: Wed Jan 4 09:59:22 2012 -0800
Be explicit about what we import from Data.Monoid
compiler/ghci/RtClosureInspect.hs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
}}}
base:
{{{
commit 556d174a555b993176e6766017b984e7a096a327
Author: Johan Tibell <[email protected]>
Date: Tue Aug 16 11:40:34 2011 +0200
Add <> as an alias for mappend
Data/Monoid.hs | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
}}}
pretty:
{{{
commit f615a6aeb4abcdbfbfab67b0a82cef9a9a65ec49
Author: Johan Tibell <[email protected]>
Date: Wed Jan 4 10:06:50 2012 -0800
Add note explaining why we use a different <>
Text/PrettyPrint/HughesPJ.hs | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
}}}
We will have to separately sort out the pretty package needs to change if
it wants to use the `Data.Monoid.(<>)` operator.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3339#comment:35>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs