lookup-word ( name vocab -- word )
Factor documentation > Factor handbook > The language > Words > Word introspection > Looking up and creating words
Prev:create-in ( str -- word )


Vocabulary
words

Inputs and outputs
namea string
vocaba string
worda word or f


Word description
Looks up a word in the dictionary. If the vocabulary or the word is not defined, outputs f.

Definition
USING: assocs vocabs ;

IN: words

: lookup-word ( name vocab -- word ) vocab-words at ;