Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
12
Task/Repeat/Fe/repeat.fe
Normal file
12
Task/Repeat/Fe/repeat.fe
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
(= repeat (mac (i n . body)
|
||||
(list 'do
|
||||
(list 'let i 0)
|
||||
(list 'while (list '< i n)
|
||||
(list '= i (list '+ i 1))
|
||||
(cons 'do body)))))
|
||||
|
||||
; print multiplication table
|
||||
(repeat i 10
|
||||
(repeat j 10
|
||||
(print i "x" j "=" (* i j)))
|
||||
(print))
|
||||
Loading…
Add table
Add a link
Reference in a new issue