runs ( seq -- newseq )
Fuzzy completion

Prev:fuzzy ( full short -- indices )
Next:score ( full fuzzy -- n )


Vocabulary
tools.completion

Inputs
seqa sequence of integers


Outputs
newseqa sequence of sequences of integers


Word description
Groups subsequences of consecutive integers.

Examples
USING: prettyprint sequences tools.completion ; { 1 2 3 5 6 9 10 } runs [ { } like ] map .
{ { 1 2 3 } { 5 6 } { 9 10 } }


Definition