finished reducer and wrote shifter. Actually kinda recognizes now! Errors too, but comes up with correct result.

This commit is contained in:
Nathan Braswell
2015-08-08 02:50:36 -04:00
parent 674e7e6538
commit 216cf0252f
5 changed files with 119 additions and 14 deletions

View File

@@ -43,4 +43,7 @@ obj stack<T> (Object) {
fun size(): int {
return data.size
}
fun empty():bool {
return data.size == 0
}
}