#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
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to