
30 Jul
2007
30 Jul
'07
1:07 a.m.
mutjida:
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