[GHC] #5108: Allow unicode sub/superscript symbols in both identifiers and operators
GHC
ghc-devs at haskell.org
Fri Mar 27 09:51:53 UTC 2015
#5108: Allow unicode sub/superscript symbols in both identifiers and operators
-------------------------------------+-------------------------------------
Reporter: | Owner:
mikhail.vorozhtsov | Status: infoneeded
Type: feature request | Milestone: 7.12.1
Priority: normal | Version: 7.1
Component: Compiler | Keywords: lexer
(Parser) | unicode
Resolution: | Architecture:
Operating System: Unknown/Multiple | Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: #10196 | Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by thomie):
* related: => #10196
Comment:
Replying to [comment:16 thomie]:
> {{{
> λ> let ᵤxᵤy = 1
> }}}
>
> GHC 7.10 follows Unicode standard 7.0, in which `'ᵤ'` (`'\x2b9'`) is in
the `ModifierLetter` (Lm) general category, so that will no longer
compile.
Ticket #10196 intends to fix this regression, by allowing MODIFIERLETTER
in identifiers after the first character. Comments welcome.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/5108#comment:17>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list