Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Re: [Caml-list] Easy solution in OCaml?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-04-28 (17:50)
From: brogoff@s...
Subject: Re: [Caml-list] Easy solution in OCaml?
On Mon, 28 Apr 2003, Brian Hurt wrote:
> On Mon, 28 Apr 2003 wrote:
> > But it is not "if <expr> then <expr> else <expr>", it is 
> > "if <expr> <expr> <expr>" which is what people are complaining 
> > about when they say there is no if-then-else in Clean. 
> > 
> They're complaining about 2 extra keywords?

Have you tried writing an if then else sequence nested at two or three 
deep in both styles? 

Perhaps the question could go back to the Clean designers too. Why are they 
worried about two measly keywords? My evil twin suggests that it's the 
well known Dutch frugality at work. I suspect that since Clean is lazy 
and was originally a lower level language, they just didn't include it. 

I agree with Markus that if-then-else is nicer to read. Haskell get's this one 
right over Clean. 

I think it's a great pity that ddr felt he had to leave, since the quarterly 
OCaml syntax flame can naturally evolve into a revised discussion. Oh well...

-- Brian

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: