Underscore in binary literals

Ben Gamari ben at smart-cactus.org
Tue Sep 26 13:43:41 UTC 2017


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20170926/218e7951/attachment-0001.sig>


More information about the ghc-devs mailing list