Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
InfinityX0
on Nov 3, 2011
|
parent
|
context
|
favorite
| on:
Do a barrel roll - Google Search
As far as Easter Eggs go, also:
https://www.google.com/search?pws=0&q=recursion
lurch00
on Nov 3, 2011
[–]
As far as Easter Eggs go, also:
https://www.google.com/search?pws=0&q=recursion
tiwilliam
on Nov 3, 2011
|
parent
[–]
As far as Easter Eggs go, also:
https://www.google.com/search?pws=0&q=recursion
awj
on Nov 3, 2011
|
root
|
parent
|
next
[–]
File "<stdin>", line 1, in easter_egg RuntimeError: maximum recursion depth exceeded
lsb
on Nov 3, 2011
|
root
|
parent
|
next
[–]
That's why you need to do a CPS transform to transform every call into a tail call, and wrap the continuation up on the heap, so you don't blow out the stack.
azelfrath
on Nov 3, 2011
|
root
|
parent
|
prev
|
next
[–]
abort();
pud
on Nov 3, 2011
|
root
|
parent
|
prev
[–]
As far as Easter Eggs go, also:
https://www.google.com/search?pws=0&q=recursion
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: