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

Wrong parsing of rows

Open varosi opened this issue 7 years ago • 1 comments

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?

varosi avatar May 11 '17 12:05 varosi

Probably duplicate of #24 ?

MichaelXavier avatar May 19 '17 15:05 MichaelXavier