3 ms·
Lazy I/O is widely regarded as a mistake, I don't really know any Haskell programmers that advocate that anymore. We have plenty of other approaches that have a
by ocharles 7y ago
Lazy I/O is widely regarded as a mistake, I don't really know any Haskell programmers that advocate that anymore. We have plenty of other approaches that have a better foundation.
- vamega 7y agoAre you referring to the various streaming libraries (Conduit, Pipes and the like)?
- whateveracct 7y agoThat is what people use instead of lazy IO. And those libraries aren't just "hacks" to deal with laziness or purity. They're wonderful APIs for writing constant-memory streaming programs. I always wish other languages had libraries on their level.
- lallysingh 7y agoMost popular languages have aspects that you can consider failed experiments. Like java's 1.0 libs or C's declaration syntax.