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,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 mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id CAC5FBC69 for ; Wed, 24 Oct 2007 15:53:30 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAFfrHkdC+Vyri2dsb2JhbACOWgIBCAIGExEF X-IronPort-AV: E=Sophos;i="4.21,324,1188770400"; d="scan'208";a="18558855" Received: from ug-out-1314.google.com ([66.249.92.171]) by mail4-smtp-sop.national.inria.fr with ESMTP; 24 Oct 2007 15:53:30 +0200 Received: by ug-out-1314.google.com with SMTP id m3so297937ugc for ; Wed, 24 Oct 2007 06:53:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:date:to:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent:from; bh=Z7nnYbViw9Cn5L61ydXtAak0VHXBgycCZY1AroGbctk=; b=jMS02liW300+eSh6jTwwrug5iGSVWgABOWUnYqzI0wEXfptr+e3vBWTt9lVHmzOlXPUA3k9H9mMM8Uzbof70NYUaz7M4LZJ4Gv6urnsNDN2DfsxlbCROXPRdj6UdzWuwE+ufRTE/K77zqhFhQWW3uRH9Ecx+xwUW01MOCVDtpH8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:to:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent:from; b=tJaeepiggB+C9jm3ur883X5ja2s5ANNeElLcK83UgIp70Xy6Yy2K+sktQhN1uOeWTSr+YpkyQ5svJaIfwzfGVD8dKgYu8jQy+KFBSJr1JttNYR07PbHyPaGZk3MbhcCe1Uh+AcyNR5uvffqg4HceaP2YkctUOMWc9gyyOZzktJo= Received: by 10.67.30.6 with SMTP id h6mr2124499ugj.1193234010203; Wed, 24 Oct 2007 06:53:30 -0700 (PDT) Received: from localhost ( [82.122.96.203]) by mx.google.com with ESMTPS id s1sm1373359uge.2007.10.24.06.53.27 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 24 Oct 2007 06:53:28 -0700 (PDT) Received: by localhost (sSMTP sendmail emulation); Wed, 24 Oct 2007 15:54:09 +0200 Date: Wed, 24 Oct 2007 15:54:08 +0200 To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Which syntax to teach ? Message-ID: <20071024135408.GA14385@localhost> References: <1193225773.3612.27.camel@Blefuscu> <200710240924.43140.peng.zang@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <200710240924.43140.peng.zang@gmail.com> User-Agent: Mutt/1.5.16 (2007-06-11) From: Julien Moutinho X-Spam: no; 0.00; syntax:01 ocaml:01 syntax:01 peng:98 wrote:01 caml-list:01 caml:02 revised:02 manual:06 inria:06 toc:06 wed:06 docs:07 quite:08 example:10 On Wed, Oct 24, 2007 at 09:24:39AM -0400, Peng Zang wrote: > Part of what made OCaml > attractive for me was its compactness. Take "[x::[y::[z::t]]]" for example, > it's quite nasty compared to just "x::y::z::t". See http://caml.inria.fr/pub/docs/manual-camlp4/manual007.html#toc20 there is an other syntax: [x; y; z :: t]. By the way, the revised syntax may ease moves through the code, due to the presence of more brackets, from which one could jump from one to another.