penny-lib-0.2.0.0: Extensible double-entry accounting system - library

Safe HaskellSafe-Infered

Penny.Cabin.Posts.Meta

Synopsis

Documentation

data PostMeta Source

Instances

filterBoxes :: [Token (Box LibertyMeta -> Bool)] -> [PostFilterFn] -> [Box LibertyMeta] -> Maybe [Box LibertyMeta]Source

Takes a list of Box with LibertyMeta, and a list of tokens from the command line, and a list of post filters. Filters the list of Box and processes the post filter. Fails if the expression fails to produce a result.

addMetadata :: ShowZeroBalances -> [Box LibertyMeta] -> [Box PostMeta]Source

Applied to a list of Box that have already been filtered, returns a list of Box with posting metadata.