
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/propos... 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

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/propos...https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftakenobu-hs%2Fghc-proposals%2Fblob%2Fnumeric-underscores%2Fproposals%2F0000-numeric-underscores.rst&data=02%7C01%7Csimonpj%40microsoft.com%7C43f4d68308cc457345c608d5260b15d4%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636456751412020624&sdata=NJviNm0jzZTC5BXIPylzb2WsWtJRJk%2B2upa8ImD%2F6y0%3D&reserved=0 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

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
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/propos... https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftakenobu-hs%2Fghc-proposals%2Fblob%2Fnumeric-underscores%2Fproposals%2F0000-numeric-underscores.rst&data=02%7C01%7Csimonpj%40microsoft.com%7C43f4d68308cc457345c608d5260b15d4%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636456751412020624&sdata=NJviNm0jzZTC5BXIPylzb2WsWtJRJk%2B2upa8ImD%2F6y0%3D&reserved=0
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

+1
Ben Gamari
: Iavor Diatchki
writes: Hello,
I am not hearing any objections about this, so I am going to mark it as accepted.
Yes, I for one would love to have this.
Cheers,
- Ben _______________________________________________ ghc-steering-committee mailing list ghc-steering-committee@haskell.org https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee

Hi, Am Dienstag, den 07.11.2017, 18:11 +0000 schrieb Iavor Diatchki:
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.
the silent majority of the committee approves of this, so consider this accepted. Joachim -- Joachim Breitner mail@joachim-breitner.de http://www.joachim-breitner.de/

Hi, Am Dienstag, den 05.12.2017, 21:40 -0500 schrieb Joachim Breitner:
Am Dienstag, den 07.11.2017, 18:11 +0000 schrieb Iavor Diatchki:
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.
the silent majority of the committee approves of this, so consider this accepted.
ignore this mail, Yavor had already done that 21 days ago. Joachim -- Joachim Breitner mail@joachim-breitner.de http://www.joachim-breitner.de/
participants (5)
-
Ben Gamari
-
Iavor Diatchki
-
Joachim Breitner
-
Manuel M T Chakravarty
-
Simon Peyton Jones