ell/greet.ell

20 lines
256 B
Plaintext
Raw Normal View History

set greet {
arg _name
print 'hello ' @_name '\n'
}
set decr {
arg _name
set @_name (- @@_name 1)
}
set limit 2
2017-05-21 00:23:51 +02:00
for (map { arg _x; .. @_x ! } [
world
creator
'darkness, my old friend'
2017-05-21 00:23:51 +02:00
]) {
arg _whom
greet @_whom
if (= 0 (decr limit)) { break }
2017-05-21 00:23:51 +02:00
}