sv-core

Encode and decode separated values (CSV, PSV, ...)

https://github.com/qfpl/sv

Version on this page:0.3@rev:1
LTS Haskell 14.27:0.4.1@rev:2
Stackage Nightly 2019-09-21:0.5@rev:1
Latest on Hackage:0.5@rev:3

See all snapshots sv-core appears in

BSD-3-Clause licensed by George Wilson
Maintained by [email protected]
This version can be pinned in stack with:sv-core-0.3@sha256:8ac87317099970721cfdae4da1474a49e5b37808b425383c494519e0420e921b,4095

sv-core is the decoding and encoding for the sv CSV library. This is split off into its own package so that one swap out sv's parser without incurring a dependency on the default parser (hw-dsv)

For an example, see sv-cassava

Changes

Revision history for sv-core

0.3 – 2018-09-26

  • Re-release 0.2.2 as 0.3 due to a change in error messages that broke sv’s tests

0.2.2 – 2018-08-23

  • Add rational and withTextReadable. rational can be more accurate than double but is slower.

0.2.1 – 2018-08-10

  • Add column-name-based encoding. NameEncode, NameEncode’, and related functions

0.2 – 2018-07-25

  • Add column-name-based decoding NameDecode, NameDecode’, and associated functions such as ‘column’.
  • Add some extra constructors to DecodeError for new errors

0.1 – 2018-07-19

  • Split off from sv-0.1