Name: spreadsheet Version: 0.1.3.1 License: BSD3 License-File: LICENSE Author: Henning Thielemann Maintainer: Henning Thielemann Homepage: http://www.haskell.org/haskellwiki/Spreadsheet Category: Data, Text Synopsis: Read and write spreadsheets from and to CSV files in a lazy way Description: 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 'String's 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 . > Name: FIRSTNAME SURNAME > Born: BIRTH . and @names.csv@ with content . > "FIRSTNAME","SURNAME",BIRTH > "Georg","Cantor",1845 > "Haskell","Curry",1900 > "Ada","Lovelace",1815 . the call . > csvreplace template.txt Name: Georg Cantor > Born: 1845 > Name: Haskell Curry > Born: 1900 > Name: Ada Lovelace > Born: 1815 . You may also generate one file per CSV row in the following manner: . > csvreplace --multifile=FIRSTNAME-SURNAME.txt template.txt =1.6 Build-Type: Simple Source-Repository head Type: darcs Location: http://code.haskell.org/~thielema/spreadsheet/ Source-Repository this Tag: 0.1.3.1 Type: darcs Location: http://code.haskell.org/~thielema/spreadsheet/ Flag buildExamples description: Build example executables default: False Flag splitBase description: Choose the new smaller, split-up base package. Library Build-Depends: utility-ht >=0.0.2 && <0.1, transformers >=0.2 && <0.4, explicit-exception >=0.1 && <0.2 If flag(splitBase) Build-Depends: base >= 2 && <5 Else Build-Depends: base >= 1.0 && < 2 GHC-Options: -Wall Hs-Source-Dirs: src Exposed-Modules: Data.Spreadsheet Other-Modules: Data.Spreadsheet.Parser Data.Spreadsheet.CharSource Executable csvreplace If flag(buildExamples) Build-Depends: bytestring >=0.9 && <0.10 Else Buildable: False GHC-Options: -Wall Hs-Source-Dirs: src Main-Is: CSVReplace.hs