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 KAA26809; Thu, 26 Apr 2001 10:24:13 +0200 (MET DST) 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 KAA26866 for ; Thu, 26 Apr 2001 10:24:12 +0200 (MET DST) Received: from uni-sb.de (uni-sb.de [134.96.252.33]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f3Q8OA517185 for ; Thu, 26 Apr 2001 10:24:10 +0200 (MET DST) Received: from cs.uni-sb.de (cs.uni-sb.de [134.96.252.31]) by uni-sb.de (8.11.3/2001032800) with ESMTP id f3Q8Mge02755; Thu, 26 Apr 2001 10:22:42 +0200 (CEST) Received: from mail.cs.uni-sb.de (mail.cs.uni-sb.de [134.96.254.200]) by cs.uni-sb.de (8.11.3/2001041100) with ESMTP id f3Q8MgG15863; Thu, 26 Apr 2001 10:22:42 +0200 (CEST) Received: from ps.uni-sb.de (grizzly.ps.uni-sb.de [134.96.186.68]) by mail.cs.uni-sb.de (8.11.3/2001041100) with ESMTP id f3Q8Mfk24330; Thu, 26 Apr 2001 10:22:41 +0200 (CEST) X-Authentication-Warning: email: Host grizzly.ps.uni-sb.de [134.96.186.68] claimed to be ps.uni-sb.de Received: from ps.uni-sb.de (zoidberg.ps.uni-sb.de [134.96.186.121]) by ps.uni-sb.de (8.11.0/8.11.0) with ESMTP id f3Q8MeK25538; Thu, 26 Apr 2001 10:22:40 +0200 Message-ID: <3AE7DAD0.8BD87566@ps.uni-sb.de> Date: Thu, 26 Apr 2001 10:22:40 +0200 From: Andreas Rossberg Organization: =?iso-8859-1?Q?Universit=E4t?= des Saarlandes X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.17-14 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: caml-list@inria.fr CC: Patrick M Doane Subject: Re: [Caml-list] two unrelated questions References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Patrick M Doane wrote: > > We can even get labelled breaks like Java: > > exception Break of string > try > List.iter (fun ... -> > try > List.iter (fun ... -> > if .. then raise (Break "inner") > else raise (Break "outer") > ) list1 > with Break "inner" -> () > ) list2 > with Break "outer" -> () Is there any reason that declaring two different exceptions BreakInner and BreakOuter does not suffice? - Andreas -- Andreas Rossberg, rossberg@ps.uni-sb.de "Computer games don't affect kids. If Pac Man affected us as kids, we would all be running around in darkened rooms, munching pills, and listening to repetitive music." ------------------- To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr