Some bugfixes, allow overloading of [] and add that to vector and string, work on regex. Need closures before that finishes....

This commit is contained in:
Nathan Braswell
2015-06-08 21:47:02 -04:00
parent 69048ebc31
commit 47bc52f00c
19 changed files with 188 additions and 48 deletions

View File

@@ -43,6 +43,9 @@ fun main(): int {
for (var i: int = 0; i < intVec.size; i++;)
print(intVec.at(i));
println();
for (var i: int = 0; i < intVec.size; i++;)
print(intVec[i]);
println();
// in place lambda map
intVec.in_place(fun(it:int):int { return it*2; })