From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id q19966TZ007494 for ; Thu, 9 Feb 2012 10:06:06 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqwKAGqLM0/RVdY2kGdsb2JhbABDgikEX4ICqg0IIgEBAQEJCQ0HFAQjgXIBAQEEEgIPHQEbHAIDDAYFCw0CAgUWCwICCQMCAQIBEREBBQEcEwYCAQEeh12dPgqLJkuCcIUHP4ELAgULgSSKIzAMAQMCBAMECgECBwUGAQMIASADAwGDX3+CB4EWBJUwhVqBOocPPYQC X-IronPort-AV: E=Sophos;i="4.73,389,1325458800"; d="scan'208";a="130690219" Received: from mail-bk0-f54.google.com ([209.85.214.54]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 09 Feb 2012 10:06:01 +0100 Received: by bkcjg1 with SMTP id jg1so1255860bkc.27 for ; Thu, 09 Feb 2012 01:06:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=sqPHFWZm4TI98UVyrCq4OJBaPUnBVW2dTVZZwkOKODg=; b=TovT3bLmEcPoHSI5xyKjwDAi3iUdq9MVRtaJAACR0EaaDCn0hZCdAeEKQiZX/B8aL2 kMGVv2+JLu83coaALNJlsVP+vyfwPsHLcferrOYNHABZeg53ol8ntb7ZKwOmLPOlrcqy u/B3TL4sEQ28jPjlKzxJCD4FVllbZVR+mN6nM= Received: by 10.204.152.216 with SMTP id h24mr405547bkw.15.1328778360650; Thu, 09 Feb 2012 01:06:00 -0800 (PST) Received: from [172.27.6.212] ([213.106.240.92]) by mx.google.com with ESMTPS id cz3sm5616301bkb.3.2012.02.09.01.05.59 (version=SSLv3 cipher=OTHER); Thu, 09 Feb 2012 01:05:59 -0800 (PST) Message-ID: <4F338C76.8050407@gmail.com> Date: Thu, 09 Feb 2012 09:05:58 +0000 From: =?UTF-8?B?TWF0ZWogS2/FocOtaw==?= <5764c029b688c1c0d24a2e97cd764f@gmail.com> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20120131 Thunderbird/10.0 MIME-Version: 1.0 To: caml-list@inria.fr References: <4F326EA6.20900@gmail.com> <20120208130536.GB22145@ccellier.rd.securactive.lan> In-Reply-To: <20120208130536.GB22145@ccellier.rd.securactive.lan> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Caml-list] syntactic detail On 02/08/2012 01:05 PM, rixed@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.)