Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
6
Task/Loops-Break/Scheme/loops-break-1.ss
Normal file
6
Task/Loops-Break/Scheme/loops-break-1.ss
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
(let loop ((first (random 20)))
|
||||
(print first)
|
||||
(if (not (= first 10))
|
||||
(begin
|
||||
(print (random 20))
|
||||
(loop (random 20)))))
|
||||
8
Task/Loops-Break/Scheme/loops-break-2.ss
Normal file
8
Task/Loops-Break/Scheme/loops-break-2.ss
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
(call/cc
|
||||
(lambda (break)
|
||||
(let loop ((first (random 20)))
|
||||
(print first)
|
||||
(if (= first 10)
|
||||
(break))
|
||||
(print (random 20))
|
||||
(loop (random 20)))))
|
||||
Loading…
Add table
Add a link
Reference in a new issue