csv-conduit
csv-conduit copied to clipboard
Example #2 does not work
Code in Example #2 terminated with:
conduit-test: Prelude.undefined
only produced 0-bytes output file.
Why myProcessor is undefined?
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