Closed Tarrasch closed 11 years ago
Hmm on second thoughts there is usage in the code where lambda is like (lambda (acc start-node edge-value end-node))
which makes at least as much sense. perhaps a line of documentation could be in order?
3fd4c61
I'm not sure how to use
fold-fa-edges
. I thought it would be something like(fold-fa-edges (lambda (acc edge) (+ c (cadr edge))) 0 my-fa)
, but that doesn't work for me. Might the implementation be wrong?I changed
to
and then I got the behavior I expected.