Browse thread
[Caml-list] OCaml wishlist
[
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: | Alain.Frisch@e... |
| Subject: | Re: [Caml-list] OCaml wishlist |
On Tue, 21 Oct 2003, Yaron Minsky wrote: > This seems pretty easy to achieve, although it's a bit messy. Seems like > you might be able to clean it up with camlp4. Here's the basic idea: This is cleaner than my solution (exception with an argument), though probably even slower (allocation of the reference, update, inspection). And both solutions prevent tail calls in the body... -- Alain ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners