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