From 6376c01d37495000ecba580eb9260fe7d65ece28 Mon Sep 17 00:00:00 2001 From: cynic Date: Thu, 20 Oct 2022 12:38:00 -0400 Subject: [PATCH] show off `each` in the examples --- test.klambda | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.klambda b/test.klambda index 013d667..0ac3b16 100644 --- a/test.klambda +++ b/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"))) (def moeblob ("moe" "moe~" "kyun!!")) -(loop 0 (- (length moeblob) 1) - (id spit (at i moeblob))) +(each moeblob + (id spit item)) (thesis) \ No newline at end of file