Handbook
Glossary
shaped-bounds-check ( seq shaped -- seq shaped )
Vocabulary
arrays
.
shaped
Inputs
seq
an
object
shaped
an
object
Outputs
seq
an
object
shaped
an
object
Definition
USING:
kernel
math
sequences
;
IN:
arrays.shaped
:
shaped-bounds-check
( seq shaped -- seq shaped )
2dup
shape
[
<
]
2all?
[
shaped-bounds-error
]
unless
;