Permalink
Browse files

Moved method .chrs from Iterable to Cool, as per other TimToady mumbling

  • Loading branch information...
1 parent 95f6c00 commit 0808aca257f99193eb09a28946a4745f01425f21 @lizmat lizmat committed Oct 1, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −0 src/core/Cool.pm
  2. +0 −3 src/core/Iterable.pm
View
@@ -132,6 +132,9 @@ my class Cool { # declared in BOOTSTRAP
method chr() {
self.Int.chr;
}
+ method chrs(Cool:D:) {
+ self>>.chr.join;
+ }
method flip() {
nqp::p6box_s(nqp::flip(nqp::unbox_s(self.Str)))
View
@@ -13,7 +13,4 @@ my class Iterable { # declared in BOOTSTRAP
method Num() { self.elems.Num }
multi method Numeric(Iterable:D:) { self.elems }
multi method Str(Iterable:D:) { self.list.Str }
- method chrs(Iterable:D:) {
- self>>.chr.join;
- }
}

0 comments on commit 0808aca

Please sign in to comment.