buchhaltung-0.0.7: Automates most of your plain text accounting data entry in ledger format.

Safe HaskellNone
LanguageHaskell2010

Buchhaltung.Match

Contents

Synopsis

Documentation

type MatchT m Source #

Arguments

 = RWST (FullOptions FilePath) () (Map AccountName Bool, Zipper Update) (ErrorT m)

R: temporaray dbacl path

W: Set of learned accounts

S: Zipper with all transaction that neede to be matched

updateAccountName :: Update -> Maybe (Transaction, Transaction) Source #

Apply the first matching Todo

data Default Source #

Data type describing the suggested or 'default' account when asking the user for account input

Constructors

Default 

groupByAccount :: MonadReader (Options User Config env) m => Journal -> m (Maybe ([(AccountName, NonEmpty (WithSource ()))], NonEmpty Update)) Source #

Group all transactions with source into those that already have an account (ignoring those in ignoredAccountsOnMatch) and those that start with cTodoAccount

returns Nothing if there are no todo transactions

dbacl arguments

dbaclProc :: String -> [String] Source #

learning

dbaclProcC :: [String] -> [String] Source #

classification