ozataman / csv-conduit

Flexible, fast and constant-space CSV library for Haskell using conduits
Other
52 stars 32 forks source link

Example #2 does not work #13

Open Zert opened 10 years ago

Zert commented 10 years ago

Code in Example #2 terminated with:

conduit-test: Prelude.undefined

only produced 0-bytes output file.

Why myProcessor is undefined?

stormont commented 9 years ago

I've just submitted a pull request to fix this in the master branch, but in the meantime, a simple way to replace it is with:

myProcessor :: Monad m => Conduit (Row Text) m (Row Text) myProcessor = awaitForever $ yield