Atom - Œœ - Odd-Even

Characters: Œ , œ

Tags: miscellaneous , array

Arity: monadic

This atom is monadic, which means it takes one argument.


Return a pair containing the odd-indexed and even-indexed elements.


For example, 6R Œœ returns [[1, 3, 5], [2, 4, 6]].


This atom should work roughly the same way as or very similarly in concept to the following code snippets (some edge case exceptions may exist):