ozataman / csv-conduit

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

Wrong parsing of rows #27

Open varosi opened 7 years ago

varosi commented 7 years ago

I have this file:

hello,","," ",world,"!" hello,","," ",world,"!" hello,","," ",world,"!"

Parsing it with this program:

    s <- BS.readFile input
    let Right csv = decodeCSV (CSVSettings ',' (Just '"')) s :: Either SomeException (Vector (Row BS.ByteString))
    print . Data.Vector.length $ csv

Result is "1". Why?

MichaelXavier commented 7 years ago

Probably duplicate of #24 ?