From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id UAA09376; Tue, 18 Nov 2003 20:24:41 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA09779 for ; Tue, 18 Nov 2003 20:24:40 +0100 (MET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id hAIJOd118949; Tue, 18 Nov 2003 20:24:39 +0100 (MET) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id UAA09677; Tue, 18 Nov 2003 20:24:39 +0100 (MET) Date: Tue, 18 Nov 2003 20:24:39 +0100 From: Xavier Leroy To: Benjamin Geer Cc: Caml Mailing List Subject: Re: [Caml-list] GC and file descriptors Message-ID: <20031118202438.A9506@pauillac.inria.fr> References: <1069168323.18363.83.camel@pelican> <3FBA4D97.9060309@dcs.qmul.ac.uk> <3FBA6459.3000000@socialtools.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0i In-Reply-To: <3FBA6459.3000000@socialtools.net>; from ben@socialtools.net on Tue, Nov 18, 2003 at 06:26:33PM +0000 X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 infer:01 pessaux:01 pessaux:01 type-based:01 publi:01 caml:01 descriptors:01 exception:02 exception:02 uncaught:02 exceptions:04 practice:06 languages:06 type:07 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > If the type of a function included its exception specification, > could Caml infer exception specifications? Yes, with the proviso that you need a fairly sophisticated exception analysis to get enough precision in practice. See for instance the PhD work of my former student, François Pessaux: François Pessaux and Xavier Leroy. Type-based analysis of uncaught exceptions. ACM Transactions on Programming Languages and Systems, 22(2):340-377, 2000. http://pauillac.inria.fr/~xleroy/publi/exceptions-toplas.ps.gz - Xavier Leroy ------------------- 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