Re: [GHC] #1383: mistaken qualified infix syntax could have a nicer error message
#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
Re: [GHC] #1383: mistaken qualified infix syntax could have a nicer error message
#1383: mistaken qualified infix syntax could have a nicer error message -+-- Reporter: Isaac Dupree | Owner: Type: feature request | Status: new Priority: low | Milestone: _|_ Component: Compiler | Version: 6.6.1 Keywords:| Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: None/Unknown Difficulty: Unknown |Testcase: Blockedby:|Blocking: Related:| -+-- Changes (by Yuras): * cc: shumovichy@… (added) * failure: = None/Unknown Comment: It can be pretty valid expression. An example: {{{ Prelude data Prelude a = Prelude a Prelude :t Prelude.(+) Prelude.(+) :: Num a = a - Prelude (a - a) Prelude }}} The ticket seems invalid for me. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1383#comment:5 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
Re: [GHC] #1383: mistaken qualified infix syntax could have a nicer error message
#1383: mistaken qualified infix syntax could have a nicer error message -+-- Reporter: Isaac Dupree | Owner: Type: feature request | Status: new Priority: low | Milestone: _|_ Component: Compiler |Version: 6.6.1 Severity: minor| Resolution: Keywords: | Difficulty: Unknown Testcase: | Architecture: Unknown Os: Unknown | -+-- Changes (by simonmar): * priority: normal = low * milestone: 6.8 branch = _|_ -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1383#comment:2 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
Re: [GHC] #1383: mistaken qualified infix syntax could have a nicer error message
#1383: mistaken qualified infix syntax could have a nicer error message +--- Reporter: Isaac Dupree |Owner: Type: feature request | Status: new Priority: normal |Milestone: 6.8 Component: Compiler | Version: 6.6.1 Severity: minor| Resolution: Keywords: | Difficulty: Unknown Os: Unknown | Testcase: Architecture: Unknown | +--- Changes (by igloo): * milestone: = 6.8 -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/1383 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