sayHi = function() print "Hi!" end function rep = function(f, n) for i in range(1, n) f end for end function rep @sayHi, 3