csv-conduit icon indicating copy to clipboard operation
csv-conduit copied to clipboard

Example #2 does not work

Open Zert opened this issue 10 years ago • 1 comments

Code in Example #2 terminated with:

conduit-test: Prelude.undefined

only produced 0-bytes output file.

Why myProcessor is undefined?

Zert avatar Jun 07 '14 19:06 Zert

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

stormont avatar May 31 '15 22:05 stormont