Skip to content
Permalink
Browse files

Consistify :U.pairup with :D one by returning a Seq

  • Loading branch information...
zoffixznet committed Oct 29, 2018
1 parent a4e7e8e commit d73272e4c0f3d92ed82008eb366cfe756ae0c39b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/Any-iterable-methods.pm6
@@ -1849,7 +1849,7 @@ Did you mean to add a stub (\{...\}) or did you mean to .classify?"
}

proto method pairup(|) is nodal {*}
multi method pairup(Any:U:) { () }
multi method pairup(Any:U:) { ().Seq }
multi method pairup(Any:D:) {
my \iter := self.iterator;
gather {

0 comments on commit d73272e

Please sign in to comment.
You can’t perform that action at this time.