Find limit of recursion: Difference between revisions

Content added Content deleted
(Need to start a coroutine)
Line 862: Line 862:
: (stack) # The default stack segment size is 4 MB
: (stack) # The default stack segment size is 4 MB
-> 4
-> 4

: (co 'a (yield y)) # Start a dummy coroutine
-> 7


: (let N 0 (recur (N) (recurse (println (inc N)))))
: (let N 0 (recur (N) (recurse (println (inc N)))))