Cleanup
parent
0ae748d9ba
commit
4ce7ddb27d
|
@ -66,7 +66,7 @@ M: word command-description ( word -- str )
|
||||||
H{ { +nullary+ f } { +listener+ f } { +description+ f } } ;
|
H{ { +nullary+ f } { +listener+ f } { +description+ f } } ;
|
||||||
|
|
||||||
: define-command ( word hash -- )
|
: define-command ( word hash -- )
|
||||||
default-flags swap assoc-union >r word-props r> update ;
|
[ word-props ] [ default-flags swap assoc-union ] bi* update ;
|
||||||
|
|
||||||
: command-quot ( target command -- quot )
|
: command-quot ( target command -- quot )
|
||||||
dup 1quotation swap +nullary+ word-prop
|
dup 1quotation swap +nullary+ word-prop
|
||||||
|
|
Loading…
Reference in New Issue