hledger/hledger-lib/Hledger
Simon Michael 45127dc5f5 feat: new type: query for easy matching by account type
type:TYPES, where TYPES is any of the (case insensitive) letters
ALERXCV, matches accounts by their declared or inferred type.
(See https://hledger.org/hledger.html#account-types.)
This should work with most commands, eg:

    hledger bal type:al
    hledger reg type:x

API changes:

Journal has a new jaccounttypes map.
The journalAccountType lookup function makes it easy to check an account's type.
The journalTags and journalInheritedTags functions look up an account's tags.
Functions like journalFilterPostings and journalFilterTransactions,
and new matching functions matchesAccountExtra, matchesPostingExtra
and matchesTransactionExtra, use these to allow more powerful matching
that is aware of account types and tags.
2022-01-31 16:44:13 -10:00
..
Data feat: new type: query for easy matching by account type 2022-01-31 16:44:13 -10:00
Read feat: new type: query for easy matching by account type 2022-01-31 16:44:13 -10:00
Reports feat: new type: query for easy matching by account type 2022-01-31 16:44:13 -10:00
Utils fix: Ensure head and tail are not called on empty account names. 2021-12-22 14:37:37 -10:00
Data.hs pkg!: Break functions related to balancing out into a separate module, 2021-09-19 17:10:38 -10:00
Query.hs feat: new type: query for easy matching by account type 2022-01-31 16:44:13 -10:00
Read.hs dev: Move journal and text parsing utilities into more appropriate places, to reduce reliance on Hledger.Read.Common. 2021-09-19 17:10:38 -10:00
Reports.hs cln: tests: Remove test and tests, which are just aliases for testCase 2021-08-30 16:32:19 -10:00
Utils.hs fix: bal: better fix for treeLeaves, fixing func tests (#1782) 2021-12-08 18:14:08 -10:00