ona/debug/app.ona

23 lines
283 B
Plaintext
Raw Normal View History

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