This commit is contained in:
Nathan Braswell
2017-05-16 11:12:05 -04:00
parent bfe65fd854
commit 7a2a76e6da
2 changed files with 57 additions and 10 deletions

View File

@@ -1,6 +1,7 @@
fun main(argc: int, argv: **char): int {
var a = fun(i: int, x: int): int { return i+x; }
var y = 20
var a = fun(i: int, x: int): int { return i+x+y; }
return a(12, 11)
}