Browse thread
Ocaml compiler features
[
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: | ketty <kattlachan@g...> |
| Subject: | Re: [Caml-list] Ocaml compiler features |
On 1/16/07, Edgar Friendly <thelema314@gmail.com> 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 :)