1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-17 04:04:20 +02:00
This commit is contained in:
Bulat Musin
2018-01-18 07:51:46 +03:00
committed by GitHub
parent d3fe11f666
commit 11e12b93fb

View File

@@ -1366,7 +1366,7 @@ sub add($a, $b) { $a + $b }
say [[&add]] 1, 2, 3; #=> 6 say [[&add]] 1, 2, 3; #=> 6
## * Zip meta-operator ## * Zip meta-operator
## This one is an infix meta-operator than also can be used as a "normal" ## This one is an infix meta-operator that also can be used as a "normal"
## operator. It takes an optional binary function (by default, it just creates ## operator. It takes an optional binary function (by default, it just creates
## a pair), and will pop one value off of each array and call its binary ## a pair), and will pop one value off of each array and call its binary
## function on these until it runs out of elements. It returns an array with ## function on these until it runs out of elements. It returns an array with