Hledger.Cli.Histogram

hledger-1.3: Command-line interface for the hledger accounting tool

Safe Haskell | None
Language | Haskell2010

Hledger.Cli.Histogram

Description

Print a histogram report. (The "activity" command).

Synopsis

- activitymode :: Mode RawOpts
- barchar :: Char
- histogram :: CliOpts -> Journal -> IO ()
- showHistogram :: ReportOpts -> Query -> Journal -> String
- printDayWith :: (PrintfType t, PrintfArg t1) => (t2 -> t1) -> (DateSpan, t2) -> t
- countBar :: Foldable t => t a -> [Char]

# Documentation

activitymode :: Mode RawOpts #

barchar :: Char #

histogram :: CliOpts -> Journal -> IO () #

Print a histogram of some statistic per report interval, such as number of postings per day.

showHistogram :: ReportOpts -> Query -> Journal -> String #

printDayWith :: (PrintfType t, PrintfArg t1) => (t2 -> t1) -> (DateSpan, t2) -> t #

countBar :: Foldable t => t a -> [Char] #