Permalink
Browse files

Transmogrify listless map into Whatever map

  • Loading branch information...
lizmat committed Nov 26, 2013
1 parent 60c8c1a commit b4cd1dab0d07f24fcbe0e1761e65779874d3d17e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/Any.pm
View
@@ -317,7 +317,7 @@ sub minmax(*@args, :&by = &infix:<cmp>) { @args.minmax(&by) }
proto map(|) {*}
multi map(&code, *@values) { @values.map(&code) }
-multi map(&code) { (1..Inf).map(&code) }
+multi map(&code, Whatever) { (1..Inf).map(&code) }
proto grep(|) {*}
multi grep(Mu $test, *@values) { @values.grep($test) }

0 comments on commit b4cd1da

Please sign in to comment.