[GHC] #1383: mistaken qualified infix syntax could have a nicer error message
GHC
cvs-ghc at haskell.org
Wed Dec 19 14:34:37 CET 2012
#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
More information about the Glasgow-haskell-bugs
mailing list