Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
13
Task/Jump-anywhere/Ol/jump-anywhere.ol
Normal file
13
Task/Jump-anywhere/Ol/jump-anywhere.ol
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
; recursion:
|
||||
(let loop ((n 10))
|
||||
(unless (= n 0)
|
||||
(loop (- n 1))))
|
||||
|
||||
; continuation
|
||||
(call/cc (lambda (break)
|
||||
(let loop ((n 10))
|
||||
(if (= n 0)
|
||||
(break 0))
|
||||
(loop (- n 1)))))
|
||||
|
||||
(print "ok.")
|
||||
Loading…
Add table
Add a link
Reference in a new issue