On 02/08/2012 01:05 PM, ri...@happyleptic.org wrote:
> Just in case it was not clear from Gabriel's answer alone, the
> purpose of allowing underscores is to write big integers like:
> 
>   1_000_000_000
> 
> which is very nice once you are used to it.

So I have learnt something new. Thanks.

This could be interesting (and in some special cases also useful)
optional syntactic sugar. I if were it my power, I would drop it from
the core language.

(although I found underscore still useful putting in between
32-bit/64-bit literal decimal integer and 'l'/'L' suffix.)

-- 
Caml-list mailing list.  Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to