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

Simon Peyton Jones simonpj at microsoft.com
Fri Mar 5 09:21:53 UTC 2021


I don't have a well-informed opinion, but I certainly have no objection.

Simon

From: ghc-steering-committee <ghc-steering-committee-bounces at haskell.org> On Behalf Of Spiwack, Arnaud
Sent: 04 March 2021 14:54
To: GHC Steering committee <ghc-steering-committee at haskell.org>
Subject: [ghc-steering-committee] #403: Cleanup lexical structure, recommendation: accept

Dear all,

As the shepherd for proposal #403 Cleanup lexical structure of numbers and identifiers<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fghc-proposals%2Fghc-proposals%2Fpull%2F403&data=04%7C01%7Csimonpj%40microsoft.com%7Cb28a9399e2fd44379fd308d8df1d66b0%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637504665725379654%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=Rfp%2F%2BPsrs%2FQWa9k67NTAOLAI7PXccca%2BVLBZvcNVYME%3D&reserved=0>, 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/20210305/bbb0084b/attachment-0001.html>


More information about the ghc-steering-committee mailing list