sv
sv copied to clipboard
Comma (and other) separated values
When multiple columns are missing, `sv` will create an `UnexpectedEndOfRow` error for each row that is missing, example: ```haskell > decode ((,) int int) (Identity mempty) Failure (DecodeErrors (UnexpectedEndOfRow :|...
I’m trying to write a decoder which parses the whole remaining columns with the same decoder. Something like `remaining :: Decode e s a -> Decode e s [a]`. and...
I have a row that requires two fields to be set. Something akin to ``` foo Decode e s a) -> Decode e s a ` but similar to the...
I noticed that the parse errors contain neither line numbers nor column numbers (assigning a decoding error to a column). The first can be easily circumvented by parsing the file...
I have a datatype with a list of translations, like so: ``` type Lang = Text data Trans = Trans { key :: Text, translations :: [(Lang, Text)] } ```...
Help appreciated
If you don't mind it would be useful to have word* encoders instead of making transformations before encoding.
We have a property-based test suite for decoders but #29 still happened. We should strengthen the conditions on some of these tests and maybe add new ones.
sv can decode using column names when used with its default parser, but sv-cassava (which runs sv's decoders with cassava's parser) cannot. I'm happy to mentor someone on this issue,...