gnucash master: Multiple changes pushed
Geert Janssens
gjanssens at code.gnucash.org
Wed Sep 2 07:23:14 EDT 2015
Updated via https://github.com/Gnucash/gnucash/commit/c9feb7df (commit)
via https://github.com/Gnucash/gnucash/commit/0ceb09ad (commit)
from https://github.com/Gnucash/gnucash/commit/7e07e6ce (commit)
commit c9feb7df8740b0350ab75deecfe6e1e9fcb11a01
Author: Daniel Kraft <d at domob.eu>
Date: Sun Aug 30 18:54:04 2015 +0200
Define build-report! function instead of loop.
The existing code uses tuples to define the properties of the individual
reports created. Replace that by a function to build one of them which
gets the properties passed as arguments, and use a series of calls to
replace the old loop. This makes the properties much more easier to
read.
commit 0ceb09ada6a7b9d4aacc82f175a6d9767f5cb39c
Author: Daniel Kraft <d at domob.eu>
Date: Sun Aug 30 18:03:14 2015 +0200
Replace for-each by tail recursion.
Replace the use of for-each and set! by tail-recursive calls with
accumulator variables. This is a more "Schematic" way to do the loops.
Summary of changes:
src/report/standard-reports/account-piecharts.scm | 145 +++++++++++++---------
1 file changed, 85 insertions(+), 60 deletions(-)
More information about the gnucash-patches
mailing list