[GHC] #1318: add warning for prefix negate operator and flag to
replace it with negative numeric literals
GHC
trac at galois.com
Tue May 1 19:41:35 EDT 2007
#1318: add warning for prefix negate operator and flag to replace it with negative
numeric literals
--------------------------------+-------------------------------------------
Reporter: Isaac Dupree | Owner: Isaac Dupree
Type: feature request | Status: new
Priority: normal | Milestone: 6.8
Component: Compiler (Parser) | Version: 6.6.1
Severity: normal | Keywords:
Difficulty: Unknown | Os: Unknown
Testcase: | Architecture: Unknown
--------------------------------+-------------------------------------------
This is tracking a few things relating to the notion that Haskell's single
prefix operator, "`-`", should not exist and "`-1`" should parse as a
single token anyway. See
http://thread.gmane.org/gmane.comp.lang.haskell.glasgow.user/11954
If there is a LANGUAGE option for this, what should it be called; and what
should the ghc flags be called? Should turning off prefix negation and
turning on negative numeric literals be separately controllable? This sort
of question (exactly what should be implemented) is probably half the
difficulty here.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1318>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
-------------- next part --------------
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs at haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
More information about the Glasgow-haskell-bugs
mailing list