penny-lib-0.2.0.0: Extensible double-entry accounting system - library

Safe HaskellSafe-Infered

Penny.Lincoln.Predicates

Contents

Description

Functions that return a boolean based upon some criterion that matches something, often a PostingBox. Useful when filtering Postings.

Synopsis

Matching helpers

match :: HasText a => (Text -> Bool) -> a -> BoolSource

matchAny :: HasTextList a => (Text -> Bool) -> a -> BoolSource

matchLevel :: HasTextList a => Int -> (Text -> Bool) -> a -> BoolSource

Pattern matching fields

Date

Qty

qty :: (Qty -> Bool) -> PostFam -> BoolSource

DrCr

Matching delimited fields

Commodity

Account

Tags