Safe Haskell | None |
---|
Functions that return a boolean based upon some criterion that matches something, often a PostFam. Useful when filtering Postings.
- type LPdct = Pdct Posting
- type MakePdct = Matcher -> LPdct
- payee :: MakePdct
- number :: MakePdct
- flag :: MakePdct
- postingMemo :: MakePdct
- transactionMemo :: MakePdct
- date :: Ordering -> UTCTime -> LPdct
- qty :: Ordering -> Qty -> LPdct
- drCr :: DrCr -> LPdct
- debit :: LPdct
- credit :: LPdct
- commodity :: Matcher -> LPdct
- account :: Matcher -> LPdct
- accountLevel :: Int -> Matcher -> LPdct
- accountAny :: Matcher -> LPdct
- tag :: Matcher -> LPdct
- reconciled :: LPdct
- filename :: Matcher -> LPdct
- serialPdct :: Text -> (a -> Maybe Int) -> Int -> Ordering -> Pdct a
- type MakeSerialPdct = Int -> Ordering -> Pdct Posting
- fwdGlobalPosting :: MakeSerialPdct
- backGlobalPosting :: MakeSerialPdct
- fwdFilePosting :: MakeSerialPdct
- backFilePosting :: MakeSerialPdct
- fwdGlobalTransaction :: MakeSerialPdct
- backGlobalTransaction :: MakeSerialPdct
- fwdFileTransaction :: MakeSerialPdct
- backFileTransaction :: MakeSerialPdct
Documentation
accountLevel :: Int -> Matcher -> LPdctSource
accountAny :: Matcher -> LPdctSource
True if a posting is reconciled; that is, its flag is exactly
R
.
Serials
:: Text | Name of the serial, e.g. |
-> (a -> Maybe Int) | How to obtain the serial from the item being examined |
-> Int | The right hand side |
-> Ordering | The Pdct returned will be True if the item has a serial
and |
-> Pdct a |
Makes Pdct based on comparisons against a particular serial.