I'm trying to parse individual chunks of a CSV file into Haskell datatypes, and I have a column that only has one row with a value, and the file has maybe 10 rows.
Is it not possible to just parse a FromNamedRecord with decodeByName and it just stops, when it doesn't see any more values in the rows?
I get a conversion error, because it tries to read from an empty row/value.
Hello!
I'm trying to parse individual chunks of a CSV file into Haskell datatypes, and I have a column that only has one row with a value, and the file has maybe 10 rows.
Is it not possible to just parse a
FromNamedRecord
withdecodeByName
and it just stops, when it doesn't see any more values in the rows?I get a conversion error, because it tries to read from an empty row/value.