Safe Haskell | None |
---|
- data ParsedTopLine = ParsedTopLine {
- ptlDateTime :: DateTime
- ptlNumber :: Maybe Number
- ptlFlag :: Maybe Flag
- ptlPayee :: Maybe Payee
- ptlMemo :: Maybe (Memo, TopMemoLine)
- ptlTopLineLine :: TopLineLine
- toTopLineCore :: ParsedTopLine -> TopLineCore
- type ParsedTxn = (ParsedTopLine, Ents (PostingCore, PostingLine))
- data BlankLine = BlankLine
- newtype Comment = Comment {}
- type ParsedItem = S4 ParsedTxn PricePoint Comment BlankLine
- type LedgerItem = S4 Transaction PricePoint Comment BlankLine
- type Parser = String -> IO (Filename, [ParsedItem])
- stripMeta :: LedgerItem -> S4 (TopLineCore, Ents PostingCore) PricePoint Comment BlankLine
Documentation
data ParsedTopLine Source
ParsedTopLine | |
|
type ParsedTxn = (ParsedTopLine, Ents (PostingCore, PostingLine))Source
stripMeta :: LedgerItem -> S4 (TopLineCore, Ents PostingCore) PricePoint Comment BlankLineSource
Changes a ledger item to remove metadata.