From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=AWL,HTML_MESSAGE,SPF_NEUTRAL autolearn=disabled version=3.1.3 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 276EEBC69 for ; Wed, 19 Dec 2007 22:29:21 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4FACccaUfAXQImh2dsb2JhbACCNQU1jRABAQEICimaFQ X-IronPort-AV: E=Sophos;i="4.24,186,1196636400"; d="scan'208";a="5842296" Received: from discorde.inria.fr ([192.93.2.38]) by mail1-smtp-roc.national.inria.fr with ESMTP; 19 Dec 2007 22:29:20 +0100 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id lBJLTKVh019430 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Wed, 19 Dec 2007 22:29:20 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4FACccaUdA6ba7kmdsb2JhbACCNQU1jRABAQEBBwQEKZoX X-IronPort-AV: E=Sophos;i="4.24,186,1196636400"; d="scan'208";a="5367854" Received: from nf-out-0910.google.com ([64.233.182.187]) by mail2-smtp-roc.national.inria.fr with ESMTP; 19 Dec 2007 22:29:20 +0100 Received: by nf-out-0910.google.com with SMTP id g13so1730092nfb.7 for ; Wed, 19 Dec 2007 13:29:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=nIARbwGUQlwy+uVwljT749rf28xmiuYo2f2p3pd4XM0=; b=CZEChERrBg1lMMOKnwYEgI26ZIW2Cf9LFd7WHzmJen31a1ii+OG7B3Zt+cwPFCu0mUnPDEVjZxROaXkG8ymBRKbwo4c8A97qSUYwEUb9cZvihiYvKhFVWPvL6bvfoKKeLY0KMnFFc2cKPRj09uCpNLkAq0Tc6akSHQrmPLfV2qI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=L/QbYb3u7LmpkXysaeFjrTF4/SPCCRjcdTVTLUt90VNGecDg7gPNtJCkRedxc3bNwBMeBZH3FjWnqfqexPuKcBseJJfwUuQSXT6pm1v4IvWBkY8MFvWRe9HTkZ2IgcsZodF10sMxf4bg3cV5wP8r67Pn52rbmCzqWCezIr4slq4= Received: by 10.78.118.5 with SMTP id q5mr13063300huc.10.1198099759164; Wed, 19 Dec 2007 13:29:19 -0800 (PST) Received: by 10.78.180.12 with HTTP; Wed, 19 Dec 2007 13:29:19 -0800 (PST) Message-ID: Date: Wed, 19 Dec 2007 16:29:19 -0500 From: "Ashish Agarwal" To: "Jon Harrop" Subject: Re: [Caml-list] Try finally revisited Cc: caml-list In-Reply-To: <200712181716.32677.jon@ffconsultancy.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_15733_21979214.1198099759157" References: <200712181716.32677.jon@ffconsultancy.com> X-Miltered: at discorde with ID 47698D30.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 camlp:01 beginner's:01 ocaml:01 bug:01 camlp:01 beginner's:01 bug:01 1975:98 frog:98 frog:98 beginners:01 beginners:01 wrote:01 wrote:01 ------=_Part_15733_21979214.1198099759157 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Is this what you're looking for? http://martin.jambon.free.fr/pa_tryfinally.ml.html On Dec 18, 2007 12:16 PM, Jon Harrop wrote: > > I just had a blindingly obvious thought: > > If the core OCaml language is now stable enough that it is not viable to chuck > the try..finally construct into the language, is there any chance it could be > put into the camlp4 library which, for example, already provides list > comprehensions? > > -- > Dr Jon D Harrop, Flying Frog Consultancy Ltd. > http://www.ffconsultancy.com/products/?e > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > ------=_Part_15733_21979214.1198099759157 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Is this what you're looking for?
http://martin.jambon.free.fr/pa_tryfinally.ml.html


On Dec 18, 2007 12:16 PM, Jon Harrop < jon@ffconsultancy.com> wrote:
>
> I just had a blindingly obvious thought:
>
> If the core OCaml language is now stable enough that it is not viable to chuck
> the try..finally construct into the language, is there any chance it could be
> put into the camlp4 library which, for example, already provides list
> comprehensions?
>
> --
> Dr Jon D Harrop, Flying Frog Consultancy Ltd.
> http://www.ffconsultancy.com/products/?e
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>

------=_Part_15733_21979214.1198099759157--