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
Resumable exceptions in plain OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christophe Raffalli <raffalli@u...>
Subject: Re: [Caml-list] Resumable exceptions in plain OCaml


may be a little camlp4 would lead to a more natural and readable syntax. 
The idea is nice but the

   rraise (Foo i) (fun e -> try raise e with Foo_r1 x -> ...) looks 


   rraise Foo i with Foo_r1 x -> ...

is much clearer and certainly possible to define in camlp4 ?

Christophe Raffalli