4 ms·
File "<stdin>", line 1, in easter_egg RuntimeError: maximum recursion depth exceeded
by awj 15y ago
File "<stdin>", line 1, in easter_egg
RuntimeError: maximum recursion depth exceeded
- lsb 15y agoThat'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.