The spreadsheet package

[Tags: bsd3, library]

Read and write spreadsheets from and to files containing comma separated values (CSV) in a lazy way. See also the csv package and, Both do not parse lazy. Reading from other source than plain Strings could be easily added.

If you install this package by

cabal install -fbuildExamples

then an example program is compiled and installed, too. This program fills a template text using data from a CSV file. E.g. given a file template.txt with content

 Born: BIRTH

and names.csv with content


the call

 csvreplace --template=template.txt <names.csv

produces the output

 Name: Georg Cantor
 Born: 1845
 Name: Haskell Curry
 Born: 1900
 Name: Ada Lovelace
 Born: 1815

For similar (non-Haskell) programs see cut, csvfix, csvtool.


Versions0.1, 0.1.1,, 0.1.2,, 0.1.3,,,
Dependenciesbase (>=1.0 && <2), explicit-exception (==0.1.*), transformers (>=0.2 && <0.4), utility-ht (>=0.0.2 && <0.1) or
base (>=2 && <5), explicit-exception (==0.1.*), transformers (>=0.2 && <0.4), utility-ht (>=0.0.2 && <0.1)
AuthorHenning Thielemann <>
MaintainerHenning Thielemann <>
CategoryData, Text
Home page
Source repositoryhead: darcs get
this: darcs get --tag 0.1.3
UploadedFri Apr 13 08:24:44 UTC 2012 by HenningThielemann
Downloads860 total (80 in last 30 days)
StatusDocs uploaded by user
Build status unknown [no reports yet]




buildexamplesBuild example executablesDisabled
splitbaseChoose the new smaller, split-up base package.Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainers' corner

For package maintainers and hackage trustees