Atom - J - Range of Length

Characters: J

Tags: array , number

Arity: monadic

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


Given a list z, produce [1, 2, ..., len(z)].


This atom can also be thought of as "get the indices to access this list". If the argument is a single value, this returns [1].


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):