Safe Haskell | None |
---|---|
Language | Haskell2010 |
A reader for CSV data, using an extra rules file to help interpret the data.
- reader :: Reader
- type CsvRecord = [String]
- rulesFileFor :: FilePath -> FilePath
- parseRulesFile :: FilePath -> ExceptT String IO CsvRules
- transactionFromCsvRecord :: SourcePos -> CsvRules -> CsvRecord -> Transaction
- tests_Hledger_Read_CsvReader :: Test
Reader
Misc.
rulesFileFor :: FilePath -> FilePath Source
transactionFromCsvRecord :: SourcePos -> CsvRules -> CsvRecord -> Transaction Source