VocabularyassocsInputsOutputsalist | an array of key/value pairs |
ExamplesZip a sequnce with its indices:
USING: assocs prettyprint ;
{ 100 200 300 } zip-index .
{ { 100 0 } { 200 1 } { 300 2 } }
Word descriptionZip a sequence with its index and return an associative list where the input sequence is the keys and the indices are the values.
See alsounzip,
zip,
zip-as,
zip-index-as,
zip-with,
zip-with-asDefinition