From: ketty <kattlachan@gmail.com>
To: "Christophe Raffalli" <raffalli@univ-savoie.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] try and tail call
Date: Sun, 22 Oct 2006 04:44:06 +0200 [thread overview]
Message-ID: <6ebe51ce0610211944m6f40358exb7793ecef4889f09@mail.gmail.com> (raw)
In-Reply-To: <453A27EB.8070609@univ-savoie.fr>
[-- Attachment #1: Type: text/plain, Size: 353 bytes --]
Hi,
On 10/21/06, Christophe Raffalli <raffalli@univ-savoie.fr> wrote:
>
>
> try
> ...
> end
> ... (* the exception raised here are not handles by with but
> propagated *)
> with
> ...
You could do it like this:
exception Propagate of exn
try
...
try ...
with x -> raise (Propagate x)
with
| Propagate x -> raise x
| ...
[-- Attachment #2: Type: text/html, Size: 804 bytes --]
next prev parent reply other threads:[~2006-10-22 2:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-21 14:00 Christophe Raffalli
2006-10-21 15:03 ` [Caml-list] " Chris King
2006-10-22 17:16 ` Christophe Raffalli
2006-10-22 2:44 ` ketty [this message]
2006-10-22 17:08 ` Christophe Raffalli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6ebe51ce0610211944m6f40358exb7793ecef4889f09@mail.gmail.com \
--to=kattlachan@gmail.com \
--cc=caml-list@inria.fr \
--cc=raffalli@univ-savoie.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox