tool.completion: ...
parent
4222b44ab7
commit
b5d0ccf200
|
@ -83,13 +83,9 @@ PRIVATE>
|
|||
: completion ( short candidate -- result )
|
||||
[ second swap complete ] keep 2array ;
|
||||
|
||||
<PRIVATE
|
||||
|
||||
: completion, ( short candidate -- )
|
||||
completion dup first 0 > [ , ] [ drop ] if ;
|
||||
|
||||
PRIVATE>
|
||||
|
||||
: completions ( short candidates -- seq )
|
||||
[ ] [
|
||||
[ [ completion, ] with each ] { } make
|
||||
|
|
Loading…
Reference in New Issue