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 KAA10180; Thu, 6 Nov 2003 10:47:19 +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 KAA10110 for ; Thu, 6 Nov 2003 10:47:18 +0100 (MET) Received: from jalapeno.cc.columbia.edu (jalapeno.cc.columbia.edu [128.59.59.238]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id hA69lH127215 for ; Thu, 6 Nov 2003 10:47:17 +0100 (MET) Received: from tw304h3.cpmc.columbia.edu (tw304h3.cpmc.columbia.edu [156.111.84.180]) (user=ot14 mech=LOGIN bits=0) by jalapeno.cc.columbia.edu (8.12.10/8.12.10) with ESMTP id hA69lFBU029288 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Thu, 6 Nov 2003 04:47:16 -0500 (EST) From: Oleg Trott To: Dustin Sallings , Caml Mailing List Subject: Re: [Caml-list] exception handling questions Date: Thu, 6 Nov 2003 04:47:12 -0500 User-Agent: KMail/1.5.4 References: <979ADAF0-1034-11D8-ADB5-000393CFE6B8@spy.net> In-Reply-To: <979ADAF0-1034-11D8-ADB5-000393CFE6B8@spy.net> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200311060447.12905.oleg_trott@columbia.edu> X-No-Spam-Score: Local X-Scanned-By: MIMEDefang 2.35 X-Loop: caml-list@inria.fr X-Spam: no; 0.00; oleg:01 oleg:01 caml-list:01 printexc:01 toplevel:01 exception:02 exception:02 string:03 string:03 similarly:03 wrote:03 exn:03 pattern:06 type:07 report:89 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Thursday 06 November 2003 03:38 am, Dustin Sallings wrote: > Similarly, is there a way to print an exception at least like the > toplevel does? I can catch any type of exception with the appropriate > pattern, but I don't see how I can report it without expecting it. Printexc.to_string : exn -> string -- Oleg Trott ------------------- 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