FUEL: Fix word completion in contexts where no context is provided (e.g., the listener)
parent
e006b5f844
commit
7d7a85e69a
|
@ -36,8 +36,8 @@ MEMO: (vocab-words) ( name -- seq )
|
||||||
|
|
||||||
: current-words ( -- seq )
|
: current-words ( -- seq )
|
||||||
manifest get
|
manifest get
|
||||||
[ search-vocabs>> ] [ qualified-vocabs>> ] bi [ words>> ] bi@
|
[ search-vocabs>> ] [ qualified-vocabs>> ] bi [ [ words>> ] map ] bi@
|
||||||
assoc-union keys ;
|
append H{ } [ assoc-union ] reduce keys ;
|
||||||
|
|
||||||
: vocabs-words ( names -- seq )
|
: vocabs-words ( names -- seq )
|
||||||
prune [ (vocab-words) ] map concat ;
|
prune [ (vocab-words) ] map concat ;
|
||||||
|
|
Loading…
Reference in New Issue