Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

As far as Easter Eggs go, also: https://www.google.com/search?pws=0&q=recursion


As far as Easter Eggs go, also: https://www.google.com/search?pws=0&q=recursion


As far as Easter Eggs go, also: https://www.google.com/search?pws=0&q=recursion


  File "<stdin>", line 1, in easter_egg
  RuntimeError: maximum recursion depth exceeded


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.


abort();


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: