Safe Haskell | None |
---|---|
Language | Haskell2010 |
A TransactionModifier
is a rule that modifies certain Transaction
s,
typically adding automated postings to them.
Synopsis
- modifyTransactions :: Day -> [TransactionModifier] -> [Transaction] -> Either String [Transaction]
Documentation
modifyTransactions :: Day -> [TransactionModifier] -> [Transaction] -> Either String [Transaction] Source #
Apply all the given transaction modifiers, in turn, to each transaction. Or if any of them fails to be parsed, return the first error. A reference date is provided to help interpret relative dates in transaction modifier queries.