VocabularyassocsInputsOutputsassoc | a sequence of key/value pairs of type exemplar |
Word descriptionCombines two sequences pairwise into a single sequence of key/value pairs of type
exemplar.
ExamplesUSING: prettyprint assocs ;
{ 1 2 3 } { 4 5 6 } V{ } zip-as .
V{ { 1 4 } { 2 5 } { 3 6 } }
USING: prettyprint assocs ;
{ 1 2 3 } { 4 5 6 } H{ } zip-as .
H{ { 1 4 } { 2 5 } { 3 6 } }
See alsounzip,
zip,
zip-index,
zip-index-as,
zip-with,
zip-with-asDefinition