short-groups ( seq n -- seq' )


Vocabulary
grouping.extras

Inputs
seqa sequence
nan integer


Outputs
seq'a sequence


Word description
If the length of seq is divisible by n, return the sequence as is. Otherwise, trim it at the end to fit that requirement.

Returns a virtual sequence.

Definition