Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
richdougherty
4y ago
0 comments
Save
Share
It needs to be at the end of the calling function so you can throw the calling function's stack frame away, since it's still in use. Getting rid of the calling stack frame is what proper tail calls is about.
0 comments
1 comments · 1 top-level
top
newest
oldest
ape4
4y ago
I was suggesting something like bash `exec`
j
/
k
navigate · click thread line to collapse