[plt-scheme] Does the procedure know who called it and how manytimes?
Chongkai Zhu wrote:
>
> In this case, I suggest you to have the SIZE function take one more
> arguments, which tells whether it is called by itself or not (and if
> you need, how many times it calls itself).
>
You can let this extra argument have a default value, say 0 or #f (by
using opt-lambda), so other functions that call your SIZE don't even
have to notice its existence.
> Chongkai
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme