collapse-slice ( m n slice -- m' n' seq )


Vocabulary
sequences

Inputs
ma non-negative integer
na non-negative integer
slicea slice


Outputs
m'a non-negative integer
n'a non-negative integer
seqa sequence


Word description
Prepares to take the slice of a slice by adjusting the start and end indices accordingly, and replacing the slice with its underlying sequence.

Definition