ona/debug/app.ona
kayomn c30f10db96
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Implement string interpolation
2023-11-07 23:22:25 +00:00

24 lines
315 B
Plaintext

let tool = "wrench"
var test_param = `monkey {tool} {2 + 1 - 1}`
let printer = lambda (pfx):
@print(test_param)
return lambda (msg):
@print(pfx)
@print(msg)
end
end
let pr = printer("this is a final closure")
pr("goodbye")
return {
.title = "Game",
.width = 1280,
.height = 800,
.tick_rate = 60,
}