# zip
Combine two lists into a list of pairs.
## Syntax
[zip $list1 $list2]
## Examples
[zip @{ 1 2 } @{ "a" "b" }] # @{ @{ 1 "a" } @{ 2 "b" } }
[zip @{ 1 2 3 } @{ "x" "y" }] # @{ @{ 1 "x" } @{ 2 "y" } }
## Returns
List of pairs (shorter list determines length).
## See Also
`map`, `range`, `flatten`