On Thu, Feb 28, 2008 at 4:11 AM, Peter Bex <[EMAIL PROTECTED]> wrote:
> On Wed, Feb 27, 2008 at 02:27:36PM -0800, Vincent Manis wrote:
>  > On 2008 Feb 27, at 13:27, Graham Fawcett wrote:
>  > > At the driver level, LOBs are often handled with a stream-based
>  > > interface. For an LOB, I'd suggest representing it with a a thunk
>  > > which, when evaluated, returns an input stream, Chicken blob or a
>  > > string. That would allow you to inspect the other column values before
>  > > deciding whether to evaluate the LOB.
>  > +1. -- vincent
>  I assume with "input stream" you mean "input port"?  (With "stream", I
>  think of SRFI-40/41)
>
>  In that case, +1.

Yes, input port was what I was thinking. Thanks. The input port would
return the body of the LOB and return #!eof when it's consumed.

The "Chicken blob or string" options are redundant, so the revised
proposal is to represent a LOB with a thunk that evaluates to an input
port.

Graham


_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to