Atom - Œṙ - Run Length Decode

Characters: Π,

Tags: miscellaneous , array , number , vectorize

Arity: monadic

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

Functionality

Decode a list of [element, repetitions] pairs into the original list. Vectorizes at depth 2.

Details

This is the right inverse of Œr (Run Length Encode).

Synonyms

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