a = function() return 1 end b = function(r) print( r() ) end b(a)