#9869: Add new notation for negative numbers when using -XNegativeLiterals -------------------------------------+------------------------------------- Reporter: bg_ | Owner: Type: feature request | Status: new Priority: low | Milestone: Component: Compiler | Version: 7.8.3 Keywords: | Operating System: Architecture: Unknown/Multiple | Unknown/Multiple Difficulty: Unknown | Type of failure: Blocked By: | None/Unknown Related Tickets: | Test Case: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- 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. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9869 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler