Safe Haskell | Safe-Infered |
---|
Functions that return a boolean based upon some criterion that matches something, often a PostingBox. Useful when filtering Postings.
- match :: HasText a => (Text -> Bool) -> a -> Bool
- matchMaybe :: HasText a => (Text -> Bool) -> Maybe a -> Bool
- matchAny :: HasTextList a => (Text -> Bool) -> a -> Bool
- matchAnyMaybe :: HasTextList a => (Text -> Bool) -> Maybe a -> Bool
- matchLevel :: HasTextList a => Int -> (Text -> Bool) -> a -> Bool
- matchMemo :: (Text -> Bool) -> Memo -> Bool
- matchMaybeLevel :: HasTextList a => Int -> (Text -> Bool) -> Maybe a -> Bool
- payee :: (Text -> Bool) -> PostFam -> Bool
- number :: (Text -> Bool) -> PostFam -> Bool
- flag :: (Text -> Bool) -> PostFam -> Bool
- postingMemo :: (Text -> Bool) -> PostFam -> Bool
- transactionMemo :: (Text -> Bool) -> PostFam -> Bool
- date :: (DateTime -> Bool) -> PostFam -> Bool
- qty :: (Qty -> Bool) -> PostFam -> Bool
- drCr :: DrCr -> PostFam -> Bool
- debit :: PostFam -> Bool
- credit :: PostFam -> Bool
- matchDelimited :: HasTextList a => Text -> (Text -> Bool) -> a -> Bool
- commodity :: Text -> (Text -> Bool) -> PostFam -> Bool
- commodityLevel :: Int -> (Text -> Bool) -> PostFam -> Bool
- commodityAny :: (Text -> Bool) -> PostFam -> Bool
- account :: Text -> (Text -> Bool) -> PostFam -> Bool
- accountLevel :: Int -> (Text -> Bool) -> PostFam -> Bool
- accountAny :: (Text -> Bool) -> PostFam -> Bool
- tag :: (Text -> Bool) -> PostFam -> Bool
Matching helpers
matchAnyMaybe :: HasTextList a => (Text -> Bool) -> Maybe a -> BoolSource
matchLevel :: HasTextList a => Int -> (Text -> Bool) -> a -> BoolSource
matchMaybeLevel :: HasTextList a => Int -> (Text -> Bool) -> Maybe a -> BoolSource
Pattern matching fields
Date
Qty
DrCr
Matching delimited fields
matchDelimited :: HasTextList a => Text -> (Text -> Bool) -> a -> BoolSource