Handbook
Glossary
seq-bounds-check? ( seq n -- ? )
Vocabulary
sequences
.
seq
Inputs
seq
an
object
n
an
object
Outputs
?
an
object
Definition
IN:
sequences.seq
GENERIC:
seq-bounds-check?
( seq n -- ? )
Methods
USING:
kernel
math
sequences
sequences.seq
;
M:
integer
seq-bounds-check?
tuck
lengthd
>
[
0
>=
]
[
drop
f
]
if
;
inline