chickadee » transducers » zip-u32vector

zip-vector vecprocedure
zip-u8vector vecprocedure
zip-u16vector vecprocedure
zip-u32vector vecprocedure
zip-u64vector vecprocedure
zip-s8vector vecprocedure
zip-s16vector vecprocedure
zip-s32vector vecprocedure
zip-s64vector vecprocedure
zip-f32vector vecprocedure
zip-f64vector vecprocedure
zip-c64vector vecprocedure
zip-c128vector vecprocedure

A transducer that zips the contents of the provided vector through the items in the current transduction. If there aren't enough elements in either the current transduction or the vector being zipd then the transducer exits early.

(import transducers)

(transduce vector-fold
           (zip-u8vector (u8vector 1 2 3))
           (vector 'a 'b 'c))

; => #((a . 1) (b . 2) (c . 3))