Y
Hacker News
new
|
ask
|
show
|
jobs
by
kenko
5043 days ago
You can solve the problem with the parent's memoization by writing the original fib using open recursion and closing it with a fixed-point operator. Doesn't help for library functions or things like that, though.