[Haskell-cafe] HDBC Laziness (was Re: HDBC or HSQL)

Donald Bruce Stewart dons at cse.unsw.edu.au
Sun Jul 29 21:07:43 EDT 2007

> Hello,
> > I have heard from a number of people that this behavior is not very
> > newbie-friendly.  I can see how that is true.  I have an API revision
> > coming anyway, so perhaps this is the time to referse the default
> > laziness of HDBC calls (there would be a '-version of everything with
> > laziness enabled, still).
> >
> > Thoughts?
> >
> I think this is a good idea.
> In general, I think effort should be made to remind people that lazy
> IO operations break Haskell's type abstractions and can thus lead to
> unexpected/dangerous behavior.

More generally, I think it should be at least obvious how to get hold of
a System.IO.Strict. We should provide that option (perhaps as part of
the 'strict' package on hackage.haskell.org).

-- Don

More information about the Haskell-Cafe mailing list