Hello,

I am not hearing any objections about this, so I am going to mark it as accepted.

-Iavor


On Tue, Nov 7, 2017 at 10:56 AM Simon Peyton Jones <simonpj@microsoft.com> wrote:

I’m ok with this, although I have not thought deeply about the details.

 

Simon

 

From: ghc-steering-committee [mailto:ghc-steering-committee-bounces@haskell.org] On Behalf Of Iavor Diatchki
Sent: 07 November 2017 18:12
To: ghc-steering-committee@haskell.org
Subject: [ghc-steering-committee] Underscores in literals

 

Hello,

 

This e-mail is about pull request #76, to allow underscores in numeric literals:

 

https://github.com/takenobu-hs/ghc-proposals/blob/numeric-underscores/proposals/0000-numeric-underscores.rst

 

In short, this is a very simply feature, which modifies the notation for numeric literals to allow writing underscores (_) in the middle of literals.   The underscores are only to increase readability, and have no effect on the meaning of the program.  So, for example, I could write things like: 10_000_072 or 0xFFFF_FA10.

 

Many other languages have a similar feature (especially hardware specification languages) and I see no downsides to it, so I think we should accept it.

 

Please respond to this e-mail if you have objections.

 

Cheers,

-Iavor