Content deleted Content added
→Prevalence: Added Blockquote Tags: Mobile edit Mobile web edit Advanced mobile edit |
wl |
||
Line 66:
</syntaxhighlight>
A more detailed example in [[Scheme (programming language)|Scheme]], counting the leaves of a tree:{{sfn|Harvey|Wright|1999|loc=V. Abstraction: 18. Trees: Mutual Recursion, pp. [https://books.google.com/books?id=igJRhp0KGn8C&pg=PA310&dq=%22mutual%20recursion%22 310–313]}}
<syntaxhighlight lang=scheme>
(define (count-leaves tree)
|