Atom - Ẇ
- Sublists
Characters: Ẇ
Tags: array , combinatorics
Arity: monadic
This atom is monadic, which means it takes one argument.
Functionality
Return all non-empty contiguous slices ordered by increasing length then position.
Details
The slices will be returned in increasing length, and for each length, they will be returned in left-to-right order based on their position in the original list. For example, 1,2,3Ẇ
returns [[1], [2], [3], [1, 2], [2, 3], [1, 2, 3]]
.