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
break and continue for OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-04-11 (00:14)
From: Micha <micha-1@f...>
Subject: Re: [Caml-list] break and continue for OCaml
On Thursday 10 April 2008 22:35:36 Eric Cooper wrote:
> It adds more imperative baggage to the language,

good thing. OCaml advertises the imperative paradigm it supports, so it should 
support it right.

> going against its 
> "mostly functional" style.  And it doesn't add any expressive power,
> since you can easily use exceptions, or bool refs as in Pascal, to
> achieve the same effect.

I'm interessted in the cleanest way to solve a problem, whether it's 
functional or imperative or oo in the end doesn't matter. And replacing a 
simple thing with myriads of exception code and workarounds is not my 
unterstanding of "easily useable".
But that discussion is academic, nothing will evolve here,