RosettaCodeData/Task/Higher-order-functions/Nanoquery/higher-order-functions.nanoquery
2023-07-01 13:44:08 -04:00

10 lines
131 B
Text

def first(function)
return function()
end
def second()
return "second"
end
result = first(second)
println result