kim / leveldb-haskell

Haskell bindings to LevelDB (https://github.com/google/leveldb)
BSD 3-Clause "New" or "Revised" License
66 stars 50 forks source link

Update gist for Conduit 1.02 #9

Closed ssadler closed 10 years ago

ssadler commented 11 years ago

The Conduit example next to mapIter is a little old, this is updated for 1.02. Also includes lazyConsume for added lazyness!

kim commented 11 years ago

Thanks, I'll try this as soon as possible.

I'm thinking, though, that it might be nice to just include it in the Haddock docs instead of linking to a gist. Also, could you comment on your reasoning behind lazyConsume? Lazy IO is somewhat contrary to strict CPS IO, as implemented by conduit, and some serious warnings apply, especially in conjunction with ResourceT.