|
|
|
let test_param = "monkey wrench"
|
|
|
|
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,
|
|
}
|