Count-leaves as an accumulation

Redefine count-leaves from section 2.2.2 as an accumulation:

(define (count-leaves t)
  (accumulate <??> <??> (map <??> <??>)))

There are no comments yet.

Authentication required

You must log in to post a comment.

Login