aboutsummaryrefslogtreecommitdiff
path: root/greet.ell
diff options
context:
space:
mode:
Diffstat (limited to 'greet.ell')
-rw-r--r--greet.ell9
1 files changed, 7 insertions, 2 deletions
diff --git a/greet.ell b/greet.ell
index bd29d93..b53f21d 100644
--- a/greet.ell
+++ b/greet.ell
@@ -2,5 +2,10 @@ set greet {
arg _name
print 'hello ' @_name '\n'
}
-greet world
-greet creator
+for (map { arg _x; .. @_x ! } [
+ world
+ creator
+]) {
+ arg _whom
+ greet @_whom
+}