From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 2D72FBC6B for ; Fri, 29 Jun 2007 18:33:00 +0200 (CEST) Received: from smtp.janestcapital.com (janestcapital.com [66.155.124.107]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l5TGWv5K025581 for ; Fri, 29 Jun 2007 18:32:59 +0200 Received: from [172.25.129.161] [38.96.172.125] by janestcapital.com with ESMTP (SMTPD-9.10) id A44A0268; Fri, 29 Jun 2007 12:33:14 -0400 Message-ID: <46853438.10602@janestcapital.com> Date: Fri, 29 Jun 2007 12:32:56 -0400 From: Brian Hurt User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Caml List Subject: Re: [Caml-list] let int = ?([' ' '\t'] '-') digits+ References: <200706291639.39529.jon@ffconsultancy.com> <46852BBD.3020407@fischerventure.com> In-Reply-To: <46852BBD.3020407@fischerventure.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at discorde with ID 46853439.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 wrote:01 caml-list:01 int:01 let:03 brian:05 brian:05 space:07 '-':07 mean:08 correct:08 fischer:10 robert:13 between:13 write:17 Robert C Fischer wrote: > How would I write f - 1 to mean "one less than the value of f"? In this proposal, you'd write f - 1, with the space between the - and the 1 being important. That said, the next complaint will be that Ocaml "misinterprets" f -x as ( - ) f x, and not the "obviously correct" f (-x). Brian