hledger-flow-0.11.1.0: An hledger workflow focusing on automated statement import and classification.

Safe HaskellNone
LanguageHaskell2010

Hledger.Flow.Common

Documentation

groupValuesBy :: (Ord k, Ord v) => (v -> k) -> [v] -> Map k [v] Source #

groupIncludeFiles :: [FilePath] -> (InputFileBundle, InputFileBundle) Source #

allYearIncludeFiles :: InputFileBundle -> (InputFileBundle, InputFileBundle) Source #

yearsIncludeMap :: [FilePath] -> InputFileBundle Source #

extraIncludesForFile :: (HasVerbosity o, HasBaseDir o) => o -> TChan LogMessage -> FilePath -> [Text] -> [FilePath] -> Shell InputFileBundle Source #

groupPairs :: (Eq a, Ord a) => [(a, b)] -> Map a [b] Source #

pairBy :: (a -> b) -> [a] -> [(b, a)] Source #

toIncludeFiles :: (HasBaseDir o, HasVerbosity o) => o -> TChan LogMessage -> InputFileBundle -> Shell (Map FilePath Text) Source #