Recursion (computer science): Difference between revisions

Content deleted Content added
spelling
Line 111:
 
====Single-Test Tail Recursion====
If we are sure that the function will find what it's looking for eventualy, we can ommitomit the first test and only test if the result has been found. The template in [[Common Lisp]] would be:
 
(DEFUN ''func'' (X)