Package Info

ghc-cassava


A CSV parsing and encoding library


Unspecified

'cassava' is a library for parsing and encoding RFC 4180 compliant comma-separated values (CSV) 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 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 for more usage examples.


License: BSD-3-Clause
URL: https://hackage.haskell.org/package/cassava

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.5.3.0-150500.11.3.2 info SUSE-SLE-Module-Packagehub-Subpackages-15-SP5-2024-572 2024-02-21 15 SP5 Subpackages Updates
  • x86-64
  • ghc-cassava
  • ghc-cassava-devel
0.5.2.0-bp155.3.15 info GA Release 2023-05-22 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ghc-cassava
  • ghc-cassava-devel
0.5.2.0-bp154.2.12 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • x86-64
  • ghc-cassava
  • ghc-cassava-devel
0.4.5.1-bp150.2.5 info GA Release 2018-08-01 15
  • AArch64
  • ghc-cassava
  • ghc-cassava-devel
0.4.5.1-bp150.2.6 info GA Release 2018-07-31 15
  • ppc64le
  • ghc-cassava
  • ghc-cassava-devel
0.4.5.1-bp150.2.7 info GA Release 2018-07-30 15
  • x86-64
  • ghc-cassava
  • ghc-cassava-devel