![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Recursion and Higher-order Functions - slide 10 : 35 |
It is not straightforward to program a recursive function in Scheme - using just lambda
![]() | Equivalent to the program above. |
![]() | Equivalent to the program above - notice the use of assignment. |
We now wish to separate the factorial stuff and the self passing stuff
This involves a number of steps - each of which are simple - but the resulting self passing stuff ends up being complicated