More fixes
parent
7f2e39430e
commit
1b510ee7db
|
@ -101,7 +101,7 @@ TUPLE: bad-escape ;
|
|||
[ (parse-effect) column get ] { } make swap column set
|
||||
{ "--" } split1 <effect> ;
|
||||
|
||||
: parse-base ( base -- ) scan swap base> parsed ;
|
||||
: parse-base ( parsed base -- parsed ) scan swap base> parsed ;
|
||||
|
||||
global [
|
||||
{
|
||||
|
|
|
@ -77,7 +77,8 @@ math namespaces prettyprint sequences strings styles ;
|
|||
2drop 0
|
||||
] if ;
|
||||
|
||||
: completion ( str word -- { score indices word } )
|
||||
: completion ( str word -- triple )
|
||||
#! triple is { score indices word }
|
||||
[
|
||||
word-name [ swap fuzzy ] keep swap [ score ] keep
|
||||
] keep
|
||||
|
|
Loading…
Reference in New Issue