You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
154 B
8 lines
154 B
2 years ago
|
|
||
|
Exercise 2.35: Redefine count-leaves from
|
||
|
2.2.2 as an accumulation:
|
||
|
|
||
|
|
||
|
(define (count-leaves t)
|
||
|
(accumulate ⟨??⟩ ⟨??⟩ (map ⟨??⟩ ⟨??⟩)))
|