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=1.2 required=5.0 tests=AWL,MAILTO_TO_SPAM_ADDR, SPF_NEUTRAL 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 A6B7CBC0B for ; Tue, 16 Jan 2007 07:10:15 +0100 (CET) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.237]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l0G6AEpX000395 for ; Tue, 16 Jan 2007 07:10:15 +0100 Received: by wx-out-0506.google.com with SMTP id i26so2002091wxd for ; Mon, 15 Jan 2007 22:10:14 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gkCMjmTaj80uTfFRDT82LOGX+MMHUSR5/adueaQb9xHW3Hzw7owul7SS/UWNdYl4qQoveCgPvTSa5j3MLhzYsDpNnr6Hgd2OKtoAyYhq2VJCjxTlTKFSzRNtLT0P21G3WGSYDLaBGvPNtM3kY7sbjmbunKOKHEUITRwsImWlAYM= Received: by 10.90.93.6 with SMTP id q6mr3848337agb.1168927814382; Mon, 15 Jan 2007 22:10:14 -0800 (PST) Received: by 10.90.71.19 with HTTP; Mon, 15 Jan 2007 22:10:14 -0800 (PST) Message-ID: <6ebe51ce0701152210t1e6f3ca9ycef752492a9da031@mail.gmail.com> Date: Tue, 16 Jan 2007 07:10:14 +0100 From: ketty To: "Edgar Friendly" Subject: Re: [Caml-list] Ocaml compiler features Cc: caml-list@yquem.inria.fr In-Reply-To: <45AC6A10.2010502@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45A87011.8080203@gmail.com> <20070115103556.GB12311@furbychan.cocan.org> <45AC60CB.4070408@gmail.com> <6ebe51ce0701152133m6e945d2emeec59219547b22d2@mail.gmail.com> <45AC6A10.2010502@gmail.com> X-j-chkmail-Score: MSGID : 45AC6C46.000 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 45AC6C46.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 compiler:01 ketty:98 edgar:98 wrote:01 caml-list:01 terminate:01 imperative:01 structures:02 structures:02 expressions:04 expressions:04 paths:05 allready:07 mess:09 On 1/16/07, Edgar Friendly wrote: > I don't know if this is reasonable, but what about having an > if/then[/else] as now (no semis inside), but also having an > if/then[/else]/end that allows semi-delimited expressions inside? This > would be light-weight (and non-intrusive), but still allow imperative > programmers their nice compound expressions inside if control paths. > I would suggest using some other name than 'end' (maybe 'endif'?) since end is allready used to terminate a lot of other structures, if 'end' might or might not follow an if it would mess those other structures up big time :)