16 lines
332 B
Markdown
16 lines
332 B
Markdown
------------------------------------------------------------------------
|
|
|
|
## zip
|
|
|
|
Function
|
|
|
|
Replace the two lists on the top of the stack with a list of the pairs
|
|
from each list. The smallest list sets the length of the result list.
|
|
|
|
### Example
|
|
|
|
[1 2 3] [4 5 6] zip
|
|
-------------------------
|
|
[[4 1] [5 2] [6 3]]
|
|
|