Handbook
Glossary
subseq? ( subseq seq -- ? )
Factor handbook
»
The language
»
Collections
»
Sequence operations
»
Testing sequences
Prev:
tail? ( seq end -- ? )
Next:
subseq-of? ( seq subseq -- ? )
Vocabulary
sequences
Inputs
subseq
a
sequence
seq
a
sequence
Outputs
?
a
boolean
Word description
Tests if
seq
contains the elements of
subseq
as a contiguous subsequence.
Definition
USING:
kernel
;
IN:
sequences
:
subseq?
( subseq seq -- ? )
subseq-start
>boolean
;
deprecated
inline