ona/debug/app.ona

23 lines
283 B
Plaintext
Raw Normal View History

2023-05-23 23:22:29 +00:00
2023-11-05 12:25:16 +00:00
let test_param = "monkey wrench"
2023-11-05 22:46:24 +00:00
let printer = lambda (pfx):
2023-11-05 12:25:16 +00:00
@print(test_param)
return lambda (msg):
2023-11-04 13:41:39 +00:00
@print(pfx)
@print(msg)
end
2023-08-26 16:00:17 +01:00
end
2023-11-05 12:25:16 +00:00
let pr = printer("this is a final closure")
2023-11-04 11:30:45 +00:00
2023-11-05 12:25:16 +00:00
pr("goodbye")
2023-11-04 11:30:45 +00:00
2023-08-22 23:49:23 +01:00
return {
.title = "Game",
.width = 1280,
.height = 800,
.tick_rate = 60,
2023-05-23 23:22:29 +00:00
}