[ghc-steering-committee] #403: Cleanup lexical structure, recommendation: accept

Spiwack, Arnaud arnaud.spiwack at tweag.io
Thu Mar 4 14:53:38 UTC 2021


Dear all,

As the shepherd for proposal #403 Cleanup lexical structure of numbers and
identifiers <https://github.com/ghc-proposals/ghc-proposals/pull/403>, let
me recommend acceptance.

This proposal does two things related to unicode characters

   - Codify the actual current lexing of unicode symbols, which is actually
   different from the Haskell 2010 report (in particular, only ascii digits
   are allowed in number literals)
   - Adds the possibility to use unicode letters which are neither upper
   case nor lower case (such as many asian scripts) as trailing symbols for
   identifier (as well as in String and Char literals)

It doesn't make it possible (nor close the door) to use letter-like numbers
(such as latin numerals) as identifiers, nor use non-ascii digits in number
literals.

As the title entails, it's essentially a clean up of the documentation, to
match reality. It seems quite uncontroversial.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-steering-committee/attachments/20210304/c28500c9/attachment.html>


More information about the ghc-steering-committee mailing list