#1383: mistaken qualified infix syntax could have a nicer error message
-------------------------------+--------------------------------------------
  Reporter:  Isaac Dupree      |          Owner:                  
      Type:  feature request   |         Status:  closed          
  Priority:  low               |      Milestone:  _|_             
 Component:  Compiler          |        Version:  6.6.1           
Resolution:  wontfix           |       Keywords:                  
        Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown      |     Difficulty:  Unknown         
  Testcase:                    |      Blockedby:                  
  Blocking:                    |        Related:                  
-------------------------------+--------------------------------------------
Changes (by simonpj):

  * status:  new => closed
  * resolution:  => wontfix


Comment:

 Yes, in Haskell `Prelude.(+)` means `(Prelude . (+))`, that is the
 composition of the function `Prelude` and the function `(+)`.

 There's a Haskell Prime proposal to change this:
 [http://hackage.haskell.org/trac/haskell-prime/wiki/QualifiedOperators]

 Till then I don't see how we can improve the error message.

 Simon

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1383#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to