Underscore in binary literals

Takenobu Tani takenobu.hs at gmail.com
Tue Sep 26 14:05:48 UTC 2017


Dear all,

Thank you very much for the response and kind explanation.
After studying, I will submit to ghc-proposals :)

Regards,
Takenobu



2017-09-26 22:56 GMT+09:00 Merijn Verstraaten <merijn at inconsistent.nl>:

> 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 --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20170926/11a30dd4/attachment.html>


More information about the ghc-devs mailing list