ghc-cassava
A CSV parsing and encoding library
'cassava' is a library for parsing and encoding [RFC 4180](<a href="https://tools.ietf.org/html/rfc4180">https://tools.ietf.org/html/rfc4180</a> ) compliant [comma-separated values (CSV)](<a href="https://en.wikipedia.org/wiki/Comma-separated_values">https://en.wikipedia.org/wiki/Comma-separated_values</a> ) data, which is a textual line-oriented format commonly used for exchanging tabular data. 'cassava''s API includes support for - Index-based record-conversion - Name-based record-conversion - Typeclass directed conversion of fields and records - Built-in field-conversion instances for standard types - Customizable record-conversion instance derivation via GHC generics - Low-level [bytestring](<a href="https://hackage.haskell.org/package/bytestring">https://hackage.haskell.org/package/bytestring</a> ) builders (see "Data.Csv.Builder") - Incremental decoding and encoding API (see "Data.Csv.Incremental") - Streaming API for constant-space decoding (see "Data.Csv.Streaming") Moreover, this library is designed to be easy to use; for instance, here's a very simple example of encoding CSV data: >>> Data.Csv.encode [("John",27),("Jane",28)] "John,27rnJane,28rn" Please refer to the documentation in "Data.Csv" and the included [README](#readme) for more usage examples.
There is no official package available for openSUSE Leap 16.0배포판
openSUSE Tumbleweed
openSUSE Leap 16.0
openSUSE Leap 15.6
SLFO 1.2