#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 jeltsch):

 What are the exact backward-compatibility problems? I can only think of
 cases like
 {{{
 cat = (++)
 }}}
 which only matter because the monomorphism restriction is still in use.

 The “confusing newbiews with weird error messages” problem is already
 present in several places. For example, the expression {{{1 + 'A'}}} will
 make GHC complain that there is no instance for {{{(Num Char)}}}. I think,
 it would be better to try to generate better error messages instead of
 increasing the number of operators.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3339#comment:12>
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

Reply via email to