use itertools
array-from
( o
→ a
)Make the object on the stack into an array using Array.from
.
zip
( zi
→ zo
)Given an array of arrays [a, b, ...]
, returns the zipped arrays [[a0, b0, ...], [a1, b1, ...], [a2, b2, ...]...]
.
enumerate
( ei
→ eo
)Like zip
, but takes [a, b, c, d…] and returns [[0, a], [1, b], [2, c], [3, d]…].
killdups
( a
→ a
)Remove all the duplicates in the array a
, and return a new array.
docs@04547c7