Safe Haskell | None |
---|---|
Language | Haskell2010 |
- type MatchT m = RWST (FullOptions FilePath) () (S.Set AccountName, Zipper Update) (ErrorT m)
- match :: FullOptions FilePath -> Journal -> ErrorT IO ()
- updateAccountName :: Update -> Maybe (Transaction, Transaction)
- printSource :: Source -> String
- mainLoop :: String -> MatchT IO ()
- histfsuf :: String
- data Default = Default {}
- suggestAccount :: Update -> MatchT IO (Maybe Default)
- bayesLine :: Monad m => WithSource a -> MatchT m String
- learn :: [(AccountName, N.NonEmpty (WithSource a))] -> MatchT IO ()
- accountCompletion :: [String] -> CompletionFunc IO
- type Update = WithSource (Maybe AccountName)
- groupByAccount :: MonadReader (Options user Config env) m => Journal -> m (Maybe ([(AccountName, N.NonEmpty (WithSource ()))], N.NonEmpty (WithSource (Maybe a))))
- myAskAccount :: Maybe Default -> MatchT IO AccountName
- getAccountList :: Monad m => MatchT m [AccountName]
- tmp :: Monad m => T.Text -> MatchT m FilePath
- dbaclProc :: String -> [String]
- dbaclProcC :: [String] -> [String]
Documentation
updateAccountName :: Update -> Maybe (Transaction, Transaction) Source #
Apply the first matching Todo
printSource :: Source -> String Source #
learn :: [(AccountName, N.NonEmpty (WithSource a))] -> MatchT IO () Source #
accountCompletion :: [String] -> CompletionFunc IO Source #
type Update = WithSource (Maybe AccountName) Source #
groupByAccount :: MonadReader (Options user Config env) m => Journal -> m (Maybe ([(AccountName, N.NonEmpty (WithSource ()))], N.NonEmpty (WithSource (Maybe a)))) Source #
Group all transactions with source into those that already have
an account and those that starting with cTodoAccount
getAccountList :: Monad m => MatchT m [AccountName] Source #
dbacl arguments
dbaclProcC :: [String] -> [String] Source #
classification