Handbook
Glossary
within ( seq set -- subseq )
Factor handbook
»
The language
»
Collections
»
Sets
»
Operations on sets
Prev:
duplicates ( set -- seq )
Next:
without ( seq set -- subseq )
Vocabulary
sets
Inputs
seq
a
sequence
set
a
set
Outputs
subseq
a
sequence
Word description
Returns the subsequence of the given sequence consisting of members of the set. This may contain duplicates, if the sequence has duplicates.
Definition
USING:
sequences
sets.private
;
IN:
sets
:
within
( seq set -- subseq )
tester
filter
;