Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Try adding Any.end.
  • Loading branch information
colomon committed Sep 4, 2013
1 parent 4c5eec8 commit 1042054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/CORE.setting
Expand Up @@ -377,6 +377,7 @@ my class Any is Mu {
};
}
method elems() { self.flat.elems }
method end() { self.defined ?? self.elems - 1 !! -1 }
method iterator() { self.flat.iterator }
method join($sep = "") { self.flat.join($sep) }
method chrs() { chrs(@(self)) }
Expand Down Expand Up @@ -1785,7 +1786,6 @@ my class List is Cool does Positional {
}
method reverse() { reverse( @(self) ); }
method end() { self.elems - 1 }
method categorize ($test) { {}.categorize( $test, self.list ) }
method classify ($test) { {}.classify( $test, self.list ) }
Expand Down

0 comments on commit 1042054

Please sign in to comment.