Handbook
Glossary
second? ( ... seq quot: ( ... elt -- ... ? ) -- ... ? )
Vocabulary
sequences
.
extras
Inputs
seq
a
sequence
quot
a
quotation
with stack effect
( ... elt -- ... ? )
Outputs
?
a
boolean
Word description
Tests whether the second element of
seq
satisfies the provided predicate.
Definition
USING:
kernel
sequences
;
IN:
sequences.extras
:
second?
( ... seq quot: ( ... elt -- ... ? ) -- ... ? )
[
second
]
dip
call
;
inline