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

Safe HaskellSafe-Infered

Penny.Cabin.Balance

Contents

Description

The Penny balance report

Synopsis

Making reports

Use these functions if you are building a report from your own code and you are not using the Zinc parser.

nullConvert :: [Box LibertyMeta] -> PriceConvertedsSource

Makes PriceConverteds where there is no target commodity.

converter :: (Commodity, DateTime) -> [PricePoint] -> [Box LibertyMeta] -> Exceptional Text PriceConvertedsSource

Makes PriceConverteds where commodities will have to be changed to a target commodity. This will fail if necessary price data is lacking.

Parsing reports

For use with the Zinc command line parser.