group
group(
@llll ? ## required
@modulos 1
@overlap 0
) -> llll/null
note
group
is a built-in function in the bell programming language and is not unique or exclusive to bellplay~.
Groups elements in sublists according to a regular size pattern.
Arguments
@llll
[llll] (required)@modulos
[int] (default:1
)@overlap
[llll] (default:0
)
Output
llll of grouped elements. [llll/null]
warning
group
will return null
without raising an error if required arguments are not provided.
Usage
group(1 2 3 4, 2, 1) ## [1 2] [2 3] [3 4]