zip function:

Zip a few list into a new list. All the arguments must be lists. The output will be a list of object, with keys in the format ".i" where i is the index list.

Examples:

  • running: (zip ["one", "two", "three"], [1, 2, 3]) will give: [{".0": "one", ".1": 1}, {".0": "two", ".1": 2}, {".0": "three", ".1": 3}]

  • running: (zip ["one", "two", "three"], [1, 2, 3], [false]) will give: [{".0": "one", ".1": 1, ".2": false}, {".0": "two", ".1": 2}, {".0": "three", ".1": 3}]

  • running: (zip ["one", "two", "three"], [1, 2, 3], 6) will return nothing