Handbook
Glossary
find-unused ( name -- seq )
Vocabulary
lint
.
vocabs
Inputs
name
a vocab name string
Outputs
seq
a
sequence
Word description
Finds unusued imports in the given vocab name. Returing the result as a
sequence
.
Examples
USING: lint.vocabs prettyprint ; "lint.vocabs" find-unused .
{ }
Definition
USING:
kernel
vocabs.loader
;
IN:
lint.vocabs
:
find-unused
( name -- seq )
vocab-source-path
dup
[
find-unused-in-file
]
when
;