Browse thread
[Caml-list] CamlP4 Revised syntax comment
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Alexander V.Voinov <avv@q...> |
| Subject: | Re: [Caml-list] CamlP4 Revised syntax comment |
Hi From: Gérard Huet <Gerard.Huet@inria.fr> 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 reasonably > complex > scientific activity) can be seriously accomplished by exchanges through 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 important. 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