From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id UAA09732; Tue, 29 Oct 2002 20:00:23 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA12130 for ; Tue, 29 Oct 2002 20:00:22 +0100 (MET) Received: from str12.sobor.org (adsl-63-198-183-99.dsl.snfc21.pacbell.net [63.198.183.99]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g9TJ0KD14585; Tue, 29 Oct 2002 20:00:21 +0100 (MET) Received: from localhost (localhost.localdomain [127.0.0.1]) by str12.sobor.org (Postfix) with ESMTP id 479D610C5E; Tue, 29 Oct 2002 13:47:04 -0500 (EST) Date: Tue, 29 Oct 2002 10:47:03 -0800 (PST) Message-Id: <20021029.104703.59470751.avv@quasar.ipa.nw.ru> To: Gerard.Huet@inria.fr Cc: caml-list@inria.fr Subject: Re: [Caml-list] CamlP4 Revised syntax comment From: "Alexander V.Voinov" In-Reply-To: <57FACEC6-EB6A-11D6-A87E-0003938819CE@inria.fr> References: <20021028.085630.59491212.avv@quasar.ipa.nw.ru> <57FACEC6-EB6A-11D6-A87E-0003938819CE@inria.fr> X-Mailer: Mew version 2.2 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi = From: G=E9rard Huet Subject: Re: [Caml-list] CamlP4 Revised syntax comment Date: Tue, 29 Oct 2002 19:15:02 +0100 > >> match a with > >> | 0 -> > >> | n -> > >> end > > > > I second this. > > > > Alexander > > > = > Frankly, > I do not think that design of a programming language (or any reasonab= ly = > complex > scientific activity) can be seriously accomplished by exchanges throu= gh a > large mailing list using random criteria of taste and distaste. = I agree completely. Here I only meant that a closing 'parenthesis' for the match construction is desired. I don't use revised syntax and don't= know it, but in the standard syntax you have to use parentheses over the entire = 'match...' to resolve ambiguity. Of course a masterpiece cannot be created by a referendum. :-) > I personally believe that syntax, and notation in general, is importa= nt. = Me too. BTW quite recently I made a presentation on FP in my company, and one slide just showed two equivalent programs in Python and OCaml side by side. This slide was crucial in the overall receiption of the presentation. My colleagues got a feeling that FP is not _that_ weird (as one would infer from the previous slides ;-) after all. (Here in biotech we use Python very intensively.) > Important > for guiding intuition consistently with the semantics, = Especially when you promote the language among skillful users of some other language be it C or Ada or Python. WBR Alexander ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners