You can pass a key-generator function to Memoize in case you need to normalize your parameters. Personally, I would add the "level" as another parameter and use plain Memoize.
In reply to Re^4: how can i hold temporary values in a recursive function
by Corion
in thread how can i hold temporary values in a recursive function
by siskos1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |