cassava
cassava copied to clipboard
A CSV parsing and encoding library optimized for ease of use and high performance
In numeric fields it could lead to silent truncation: ``` >>> import Data.Csv >>> import Data.Vector (Vector) >>> decode NoHeader "12.7" :: Either String (Vector (Only Int)) Right (fromList [Only...
I work with a csv-file in which the symbol '"' escapes slash '\' instead of doubling. Is it possible to introduce a parameter that specifies the syntax of this option....
The `decimal` function in `Data.Csv.Conversion.Internal` seems to just format a number in decimal format. I was not sure if this really is the case. However, if it is, then one...
This amounts to simply adapting the HTML escaping from the documentation of http://hackage.haskell.org/packages/archive/bytestring/0.10.2.0/doc/html/Data-ByteString-Builder-Prim.html.
Currently, lot's of intermediate bytestrings are constructed during encoding. This is unnecessary and could be avoided by adding a `toFieldBuilder` method to the `ToRecord` typeclass. I expect at least a...
I have an application where I wanted to encode a single record, quoting all the fields, but not attach a trailing newline. `Data.Csv.Encoding.encodeRecord` looks pretty much exactly what I want,...
Hi, There's a problem with escaped fields parser, -- it is partial on opening double quote. Means, it throws Haskell `error` instead of properly failing. The problem is because of...
A new EncodeOptions field `encMissing` determines what to do when a named field cannot be found. This enables encoding sparse data structures. This is a breaking change because there are...
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...
This package could benefit from an active maintainer. I am only a steward, keeping things working in the latest Haskell ecosystem. However, there some requests for feature extensions. These mostly...