check-slice ( from to seq -- from to seq )


Vocabulary
sequences

Inputs and outputs
froma non-negative integer
toa non-negative integer
seqa sequence


Word description
Ensures that m is less than or equal to m, and that both indices are within bounds for seq.

Errors
Throws a slice-error if the preconditions are not met.

Definition