#3339: Data.Monoid: Add (+>) as a synonym for mappend
------------------------------+---------------------------------------------
Reporter: bos | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: libraries/base | Version: 6.10.3
Severity: normal | Resolution:
Keywords: | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
------------------------------+---------------------------------------------
Comment (by duncan):
I dislike the asymmetry. The ++ operator is not commutative but we don't
artificially make it visually asymmetric. Why not take Ross's proposal and
use <> as in Data.Sequence.
For the sake of the discussion, perhaps someone should also explain why we
cannot just generalise the type of ++. There's a separate argument that we
should not.
Also, what is the purpose of the flipped append? Why do we want to
dedicate a symbol for flipped append? I use monoid operations a lot and I
cannot think of a single use of flipped append.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3339#comment:1>
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