Handbook
Glossary
load ( prefix -- )
Factor handbook
»
Developer tools
»
Vocabulary hierarchy tools
Next:
load-all ( -- )
Vocabulary
vocabs
.
hierarchy
Inputs
prefix
a
string
Outputs
None
Word description
Load all vocabularies that match the provided prefix.
Notes
This word differs from
require
in that it loads all subvocabularies, not just the given one.
Definition
USING:
kernel
namespaces
sequences
vocabs.loader
;
IN:
vocabs.hierarchy
:
load
( prefix -- )
[
vocab-roots
get
]
dip
[
load-from-root
]
curry
each
;