Skip to main content
Log in

Mojo function

zip

zip[origin: ImmutableOrigin, n: Int](ts: InlineArray[Pointer[IntTuple, origin], n]) -> _zip[origin, n]

zip(a: IntTuple[origin], b: IntTuple[origin], out result: _zip[{a, b}, 2])

zip(a: IntTuple[origin], b: IntTuple[origin], c: IntTuple[origin], out result: _zip[{a, b, c}, 3])