Browse thread
break and continue for OCaml
[
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: | 2008-04-10 (14:36) |
From: | Martin Jambon <martin.jambon@e...> |
Subject: | Re: [Caml-list] break and continue for OCaml |
On Thu, 10 Apr 2008, Michael Wohlwend wrote: > Am Donnerstag, 10. April 2008 16:05:45 schrieb Martin Jambon: > >> I'm OK with the intent, but what should happen in such cases: >> >> module A = >> struct >> let a = break >> let b = continue > > I think break and continue should be restricted to inside of loops, which > isn't hard to do. I would not say this until I have done it myself :-) Martin -- http://wink.com/profile/mjambon http://mjambon.com