apropos now prints the score
parent
b150e155d9
commit
41040c6a7b
|
@ -99,6 +99,8 @@ math namespaces prettyprint sequences strings styles ;
|
||||||
: apropos ( str -- )
|
: apropos ( str -- )
|
||||||
completions [
|
completions [
|
||||||
first3 dup presented associate [
|
first3 dup presented associate [
|
||||||
word-name fuzzy. drop
|
dup word-vocabulary write bl word-name fuzzy.
|
||||||
|
" (score: " swap >fixnum number>string ")" append3
|
||||||
|
write
|
||||||
] with-nesting terpri
|
] with-nesting terpri
|
||||||
] each ;
|
] each ;
|
||||||
|
|
Loading…
Reference in New Issue