Handbook
Glossary
nth? ( ... n seq quot: ( ... elt -- ... ? ) -- ... ? )
Vocabulary
sequences
.
extras
Inputs
n
an
integer
seq
a
sequence
quot
a
quotation
Outputs
?
a
boolean
Word description
Check if the nth element of
seq
satisfies the condition given by
quot
.
Definition
USING:
kernel
sequences
;
IN:
sequences.extras
:
nth?
( ... n seq quot: ( ... elt -- ... ? ) -- ... ? )
[
nth
]
dip
call
;
inline