HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Package0.5.3.2TextWebCSV

cassava

A CSV parsing and encoding library

Modules

5 modules

Description

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:

Please refer to the documentation in Data.Csv and the included README for more usage examples.

Depends on

14 packages

Used by in this set · 4