Style choice: I had been writing methods with spaces before the arguments, but that doesn't seem to be the case in the documentation. This is just to keep things consistent

This commit is contained in:
Kyle Marek-Spartz
2014-02-18 11:55:55 -06:00
parent b59f33fa6f
commit 9792581292
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
class Sequence {
map (f) {
map(f) {
var result = []
for (element in this) {
result.add(f.call(element))
@@ -7,7 +7,7 @@ class Sequence {
return result
}
where (f) {
where(f) {
var result = []
for (element in this) {
if (f.call(element)) result.add(element)