Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Re: New Features (Common Database Interface)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: cashin@c...
Subject: Re: [Caml-list] Re: New Features (Common Database Interface)
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:        |

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: