2 ms·
I like Snap, but I am still skeptic too. One of the nicer things of enumeratee, conduit, and pipes is that you can use them in pure code as well. io-streams dra
by danieldk 14y ago
I like Snap, but I am still skeptic too. One of the nicer things of enumeratee, conduit, and pipes is that you can use them in pure code as well. io-streams drags in the IO monad if you want to structure code as streams, even if your 'enumerator', 'enumeratee' or 'iterator' is pure.
- mercurial 14y agoI think that's a design goal. The idea is to pipe IO streams and not arbitrary streams, which seems to make for a much less complicated machinery (just look at the types signatures from pipes :) ). It's a viable design choice, but it certainly has drawbacks as well.