File reading is not a pure operation: running out
of file descriptors is a good counter-example.
How does this differ from running out of memory whilst trying
to evaluate something?
You're absolutely right, of course.
I think the point is that by using implicit memory allocation we've
Simon Marlow [EMAIL PROTECTED] writes:
To fix these
problems you have to think carefully about strictness and demand in your
program. For memory we have heap profilers to help out, but we don't
have I/O descriptor profilers for lazy I/O!