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) |
||||
(all |
||||
statement |
||||
(cond (= i max) |
||||
false |
||||
(loop max (- i 1) (id statement)))))) |
||||
|
||||
(def each |
||||
(lambda (it action) |
||||
(loop 0 (- (length it) 1) |
||||
(id all |
||||
(def item (at i it)) |
||||
action)))) |
||||
DEFINE:loop:(def loop (lambda (counter max)\ |
||||
(all\ |
||||
statement\ |
||||
(cond (= counter max)\ |
||||
counter\ |
||||
(loop (+ counter 1) max)))))\ |
||||
(loop start end)\ |
||||
:start:end:statement |
||||
|
@ -1,3 +0,0 @@ |
||||
(def str2lst (lambda (l) |
||||
(miracle |
||||
"__builtins__" "list" (l)))) |
Loading…
Reference in new issue