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 OAA20982; Sat, 15 Feb 2003 14:56:59 +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 OAA20978 for ; Sat, 15 Feb 2003 14:56:59 +0100 (MET) Received: from ajax.cs.uga.edu (ajax.cs.uga.edu [128.192.251.3]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h1FDuvf29726 for ; Sat, 15 Feb 2003 14:56:58 +0100 (MET) Received: from cs.uga.edu (ajax [128.192.251.3]) by ajax.cs.uga.edu (8.9.3/8.9.3) with ESMTP id IAA15500 for ; Sat, 15 Feb 2003 08:56:55 -0500 (EST) To: caml-list@inria.fr From: cashin@cs.uga.edu Subject: Re: [Caml-list] Re: New Features (Common Database Interface) Date: Sat, 15 Feb 2003 08:56:55 -0500 In-Reply-To: <1045262163.652.6.camel@valery5> (Matt Boyd's message of "14 Feb 2003 16:35:58 -0600") Message-ID: <874r75bqag.fsf@cs.uga.edu> User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.2 (i386-debian-linux-gnu) References: <1045262163.652.6.camel@valery5> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Thanks to Matt for sharing the code, by the way. Matt Boyd writes: ... > exception End_of_rows > (** Raised when query results ends. *) I didn't really read the code, but I noticed the End_of_rows exception and I'd like to know folks' opinions about it. I know that's analogous to End_of_file, but since an infinite number of rows would be a lot more exceptional than a finite number, isn't this a strange use of exceptions? I would guess that iteration or recursion would be more efficient and expressive. -- --Ed L Cashin | PGP public key: ecashin@uga.edu | http://noserose.net/e/pgp/ ------------------- 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