Experimenting with fungll optimization, implement the okmij.org poly-variadic fix-point combinator for mutual recursion

This commit is contained in:
Nathan Braswell
2020-10-17 11:59:54 -04:00
parent 45ecb25bb1
commit d689a59097
8 changed files with 58 additions and 16 deletions

View File

@@ -384,5 +384,10 @@ obj vec<T> (Object, Serializable) {
return to_ret
}
}
fun pop(): T {
var to_ret = data[size-1]
remove(size-1)
return to_ret
}
};