Move IO into a separate module.

This commit is contained in:
Bob Nystrom
2014-02-04 08:44:59 -08:00
parent ba06a4fd8a
commit 36df70dba1
13 changed files with 182 additions and 96 deletions
+11
View File
@@ -0,0 +1,11 @@
class List {
toString {
var result = "["
for (i in 0...this.count) {
if (i > 0) result = result + ", "
result = result + this[i].toString
}
result = result + "]"
return result
}
}