work in progress

This commit is contained in:
Nathan Braswell
2017-06-12 23:52:12 -04:00
parent 8166db37ac
commit bd83156c12
10 changed files with 27 additions and 16 deletions

View File

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