Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 0808aca257f99193eb09a28946a4745f01425f21 1 parent 95f6c00
@lizmat lizmat authored
Showing with 3 additions and 3 deletions.
  1. +3 −0  src/core/Cool.pm
  2. +0 −3  src/core/Iterable.pm
View
3  src/core/Cool.pm
@@ -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
3  src/core/Iterable.pm
@@ -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;
- }
}
Please sign in to comment.
Something went wrong with that request. Please try again.