VocabularygroupingInputs and outputs| seq | a sequence |
| n | a non-negative integer |
| array | a sequence of sequences |
Word descriptionSplits the sequence into overlapping clumps of
n elements, wrapping around the end of the sequence, and collects the clumps into a new array.
NotesFor an empty sequence, the result is an empty sequence.
ExamplesUSING: grouping prettyprint ;
{ 3 1 3 3 7 } 2 circular-clump .
{ { 3 1 } { 1 3 } { 3 3 } { 3 7 } { 7 3 } }
See alsoclump,
groupDefinition