spreadsheet-0.1: Read and write spreadsheets from and to CSV files in a lazy waySource codeContentsIndex
Data.Spreadsheet
Contents
parsing
formatting
Synopsis
type T = [[String]]
fromString :: Char -> Char -> String -> Exceptional UserMessage T
fromStringSimple :: Char -> Char -> String -> T
toString :: Char -> Char -> T -> String
toStringSimple :: Char -> Char -> T -> String
Documentation
type T = [[String]]Source
A spreadsheet is a list of lines, each line consists of cells, and each cell is a string. Ideally, spreadsheets read from a CSV file have lines with the same number of cells per line. However, we cannot assert this, and thus we parse the lines as they come in.
parsing
fromString :: Char -> Char -> String -> Exceptional UserMessage TSource
fromString qm sep text parses text into a spreadsheet, using the quotation character qm and the separator character sep.
fromStringSimple :: Char -> Char -> String -> TSource
formatting
toString :: Char -> Char -> T -> StringSource
toStringSimple :: Char -> Char -> T -> StringSource
Produced by Haddock version 2.6.0