#3339: Data.Monoid: Add (<>) as a synonym for mappend
-----------------------------+----------------------------------------------
Reporter: bos | Owner:
Type: proposal | Status: new
Priority: normal | Milestone: Not GHC
Component: libraries/base | Version: 6.10.3
Resolution: | Keywords:
Testcase: | Blockedby:
Difficulty: Unknown | Os: Unknown/Multiple
Blocking: | Architecture: Unknown/Multiple
Failure: None/Unknown |
-----------------------------+----------------------------------------------
Comment(by tibbe):
+1
Having a right associative operator for monoid makes it less error prone
to use builder monoid like `Data.Binary.Builder` and
`Data.Text.Lazy.Builder` as they should be used in a right associative
way.
I think what needs to happen is that someone creates a patch and moves the
ticket to the "please merge" stage, assuming that consensus was reached (I
didn't check the discussion thread).
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3339#comment:19>
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