Handbook
Glossary
deduplicate ( seq -- seq' )
Vocabulary
sequences
.
extras
Inputs
seq
an
object
Outputs
seq'
an
object
Definition
USING:
hash-sets
kernel
sequences
sets
;
IN:
sequences.extras
:
deduplicate
( seq -- seq' )
dup
length
<hash-set>
[
?adjoin
]
curry
{
}
filter-as
;