Underscore in binary literals

Merijn Verstraaten merijn at inconsistent.nl
Tue Sep 26 13:56:43 UTC 2017


I, too, have wished for the ability to have a separator in large number literals.

So a strong +1 from me.

Cheers,
Merijn

> On 26 Sep 2017, at 15:43, Ben Gamari <ben at smart-cactus.org> wrote:
> 
> Takenobu Tani <takenobu.hs at gmail.com> writes:
> 
>> Hi Rahul,
>> 
>> Thanks for the explanation.
>> Hmm, Is not there much need...
>> 
>> Thank you code example.
>> I will also look at lexer for my study [1].
>> 
> If you do want to try pursuing a language change do feel free to submit
> a proposal [1]. I would also like the ability to break up large
> literals. However, why limit it to BinaryLiterals? I would like the same
> syntax for deciaml and hexadecimal literals as well.
> 
> Cheers,
> 
> - Ben
> 
> 
> [1] https://github.com/ghc-proposals/ghc-proposals
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 874 bytes
Desc: Message signed with OpenPGP
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20170926/5ae4f035/attachment.sig>


More information about the ghc-devs mailing list