zip package:jsaddle

O(n) zip takes two JSStrings and returns a list of corresponding pairs of bytes. If one input JSString is short, excess elements of the longer JSString are discarded. This is equivalent to a pair of unpack operations.
O(n) zipWith generalises zip by zipping with the function given as the first argument, instead of a tupling function. Performs replacement on invalid scalar values.
zipWith generalises zip by zipping with the function given as the first argument, instead of a tupling function. Properties
unstream (zipWith f (stream t1) (stream t2)) = zipWith f t1 t2