sv library for your csv|psv|tsv

Hi everyone, The Queensland Functional Programming Lab has released the sv library for parsing, editing and calculating results based on * separated value file formats such as CSV, PSV and TSV. https://hackage.haskell.org/package/sv This first release of the library is 6 months of work by the FP lab. If you are familiar with the original argonaut[^1] library in scala or purescript, you will know of the idea of codecs for converting a syntax tree into your user-defined values. For example, taking a JSON data type to your own Person data type. Some of these ideas have been adapted to the aeson library. The sv library implements these same original ideas, with corrections to a few of the original mistakes that we made in argonaut. The sv library also retains the inverse law to parsing (write . parse = id), so you can use the library for editing CSV|PSV|TSV files. Characters such as whitespace, quotes, etc are retained in the syntax tree. If there are any questions, please feel free to contact us http://qfpl.io/contact [^1]: http://argonaut.io/
participants (1)
-
Tony Morris