JanetDocsSourcePlaygroundTutorialsI'm Feeling luckyCommunityGitHub sign in

zipcoll

core-api


    function
    boot.janet on line 1799, column 1

    (zipcoll ks vs)

    Creates a table from `ks` and `vs` by pairing values at the same 
    index from each. If `ks` or `vs` has more values than the other, 
    the extra values are ignored. Returns a new table.

    `ks` and `vs` can by bytes, indexed, fibers, or abstract types with 
    suitable `get` and `next` methods.


1 exampleSign in to add an example
Loading...
(zipcoll [:a :b :c] [1 2 3])  #=> @{:c 3 :a 1 :b 2}
uvtcPlayground