Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Move method comb prototype
  • Loading branch information
lizmat committed Oct 24, 2015
1 parent 77eb4c2 commit cd77669
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/core/Cool.pm
Expand Up @@ -273,7 +273,6 @@ my class Cool { # declared in BOOTSTRAP
self.Stringy.match($target, |%adverbs)
}

proto method comb(|) {*}
multi method comb() { self.Str.comb() }
multi method comb(Regex $matcher, $limit = Inf) { self.Str.comb($matcher, $limit) }
multi method comb(Str $matcher, $limit = Inf) { self.Str.comb($matcher, $limit) }
Expand Down
1 change: 1 addition & 0 deletions src/core/Mu.pm
Expand Up @@ -45,6 +45,7 @@ Please refactor this code using the new Iterator / Seq interface.
}

proto method split(|) { * }
proto method comb(|) { * }

method take {
take self;
Expand Down

0 comments on commit cd77669

Please sign in to comment.