[GNC-dev] [GNC] Reports: Help normalizing a list of gnc:monetary values

Christopher Lam christopher.lck at gmail.com
Wed Mar 31 19:38:32 EDT 2021

On Wed, 31 Mar 2021 at 15:32, Evelyn Yamanaka <evelyn.yamanaka at gmail.com>

> Thank you so much, Christopher!

You're welcome!

So, the normalization / percentage representation is actually part of
> a report I'm working on whose primary goal is to support some concept
> of tagging / grouping for accounts that's independent of the account
> tree structure. I have a working version up if you or anyone is
> curious:
> https://github.com/ritsu/gnucash-reports
> Any comments or suggestions would be appreciated, especially since I'm
> definitely not a scheme coder. ;) I've tried to leave as much of the
> original category-barchart.scm untouched as possible, and marked the
> places I've changed with a "Tags:" prefixed comment.

I had a quick glance at the code; with one serious feedback:

You're very much wrong, you're a very competent schemer. The structure is
fine; there are some tiny optimisations possible, but overall it's very
much clean.

Note: watch out for deprecation warnings -- run with the following to
expand them.
Do ask feedback anytime.
$ GUILE_WARN_DEPRECATED=detailed ./gnucash

More information about the gnucash-devel mailing list