show off `each` in the examples

master
cynic 3 years ago
parent 07ec7e31bf
commit 6376c01d37
  1. 4
      test.klambda

@ -19,7 +19,7 @@ INCLUDE:./lib/aids.klambda
(id spit (cond (% i 15) (cond (% i 5) (cond (% i 3) i "fizz") "buzz") "fizzbuzz"))) (id spit (cond (% i 15) (cond (% i 5) (cond (% i 3) i "fizz") "buzz") "fizzbuzz")))
(def moeblob ("moe" "moe~" "kyun!!")) (def moeblob ("moe" "moe~" "kyun!!"))
(loop 0 (- (length moeblob) 1) (each moeblob
(id spit (at i moeblob))) (id spit item))
(thesis) (thesis)
Loading…
Cancel
Save