|AccountNames are strings like assets:cash:petty.
From a set of these we derive the account hierarchy.
- -> [a,a:b,a:b:c,d,d:e]
- -> [a,d]
|From a list of account names, select those which are direct
subaccounts of the given account name.
|Convert a list of account names to a tree.
Elide an account name to fit in the specified width.
From the ledger 2.6 news:
What Ledger now does is that if an account name is too long, it will
start abbreviating the first parts of the account name down to two
letters in length. If this results in a string that is still too
long, the front will be elided -- not the end. For example:
Expenses:Cash ; OK, not too long
Ex:Wednesday:Cash ; Expenses was abbreviated to fit
Ex:We:Afternoon:Cash ; Expenses and Wednesday abbreviated
..:Af:Lu:Sn:Ca:Ch:Cash ; Abbreviated and elided!
|Produced by Haddock version 2.7.2|