Compare commits
No commits in common. 'a1119479aaa82d09e07efbcf937fb3cdf1ae0316' and 'db801bd8187a92a0e6ca81cec60e56a366f089b9' have entirely different histories.
a1119479aa
...
db801bd818
@ -1,13 +1,8 @@ |
|||||||
(def loop (lambda (max i statement) |
DEFINE:loop:(def loop (lambda (counter max)\ |
||||||
(all |
(all\ |
||||||
statement |
statement\ |
||||||
(cond (= i max) |
(cond (= counter max)\ |
||||||
false |
counter\ |
||||||
(loop max (- i 1) (id statement)))))) |
(loop (+ counter 1) max)))))\ |
||||||
|
(loop start end)\ |
||||||
(def each |
:start:end:statement |
||||||
(lambda (it action) |
|
||||||
(loop 0 (- (length it) 1) |
|
||||||
(id all |
|
||||||
(def item (at i it)) |
|
||||||
action)))) |
|
||||||
|
@ -1,3 +0,0 @@ |
|||||||
(def str2lst (lambda (l) |
|
||||||
(miracle |
|
||||||
"__builtins__" "list" (l)))) |
|
Loading…
Reference in new issue