Redefine count-leaves from section 2.2.2 as an accumulation:
count-leaves
(define (count-leaves t) (accumulate <??> <??> (map <??> <??>)))
There are no comments yet.
You must log in to post a comment.