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 (01:59) |
From: | Sanghyeon Seo <sanxiyn@g...> |
Subject: | break and continue for OCaml |
I have the first cut of patch to implement break and continue inside for and while loops for OCaml. http://sparcs.kaist.ac.kr/~tinuviel/devel/ocaml/ Patch is against OCaml 3.10.2. All the meat is in bytecomp/bytegen.ml. Currently bytecode only. I am working on natvie code and error handling when break is used outside loop etc but I thought "releasing early" could be useful. What do you think? -- Seo Sanghyeon