[GHC] #9869: Add new notation for negative numbers when using -XNegativeLiterals
GHC
ghc-devs at haskell.org
Sat Dec 6 19:25:14 UTC 2014
#9869: Add new notation for negative numbers when using -XNegativeLiterals
-------------------------------------+-------------------------------------
Reporter: bg_ | Owner:
Type: feature | Status: new
request | Milestone:
Priority: low | Version: 7.8.3
Component: Compiler | Keywords:
Resolution: | Architecture: Unknown/Multiple
Operating System: | Difficulty: Unknown
Unknown/Multiple | Blocked By:
Type of failure: | Related Tickets:
None/Unknown |
Test Case: |
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
Description changed by bg_:
Old description:
> I propose that when using -XNegativeLiterals ghc should also read ~123 as
> a negative literal. SML uses ~ as the unary minus it, so it's not
> completely out of the blue. The reason would be to minimize ambiguity.
New description:
I propose that when using -XNegativeLiterals ghc should also read ~123 as
a negative literal. SML uses ~ as the unary minus, so it's not completely
out of the blue. The reason would be to minimize ambiguity.
--
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9869#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list