monotonic-split-slice ( seq quot: ( obj1 obj2 -- ? ) -- pieces )
Splitting trending sequences

Prev:monotonic-split ( seq quot: ( obj1 obj2 -- ? ) -- pieces )
Next:downward-slices ( seq -- slices )


Vocabulary
splitting.monotonic

Inputs
seqa sequence
quota quotation with stack effect ( obj1 obj2 -- ? )


Outputs
piecesa sequence of slices


Word description
Monotonically splits a sequence into slices.

Examples
USING: splitting.monotonic math prettyprint ; { 1 2 3 2 3 4 } [ < ] monotonic-split-slice .
{ T{ slice { to 3 } { seq { 1 2 3 2 3 4 } } } T{ slice { from 3 } { to 6 } { seq { 1 2 3 2 3 4 } } } }


See also
monotonic-split

Definition