ona/debug/app.ona

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,
}