hledger-0.8: A command-line (or curses or web-based) double-entry accounting tool.Source codeContentsIndex
Ledger.IO
Description
Utilities for doing I/O with ledger files.
Synopsis
myLedgerPath :: IO String
myTimelogPath :: IO String
myLedger :: IO Ledger
myTimelog :: IO Ledger
readLedger :: FilePath -> IO Ledger
journalFromString :: String -> IO Journal
Documentation
myLedgerPath :: IO StringSource
Get the user's default ledger file path.
myTimelogPath :: IO StringSource
Get the user's default timelog file path.
myLedger :: IO LedgerSource
Read the user's default ledger file, or give an error.
myTimelog :: IO LedgerSource
Read the user's default timelog file, or give an error.
readLedger :: FilePath -> IO LedgerSource
Read a ledger from this file, with no filtering, or give an error.
journalFromString :: String -> IO JournalSource
Read a Journal from the given string, using the current time as reference time, or give a parse error.
Produced by Haddock version 2.6.0