Hacker News new | ask | show | jobs
by bmacho 542 days ago
You probably just jest, either way fibs is not tail recursive [0], since its returning value is a list constructor, and not a call to itself.

[0] : https://stackoverflow.com/questions/33923/what-is-tail-recur...

1 comments

No jest, I just recalled this formulation incorrectly as being tail-recursive. Thanks for reminding me.