Add <> word
parent
42926ebfcf
commit
1162ee6b0f
|
@ -19,7 +19,7 @@ GENERIC: word-help* ( word -- content )
|
|||
{ { "object" object } { "?" "a boolean" } } $values
|
||||
[
|
||||
"Tests if the object is an instance of the " ,
|
||||
first "predicating" word-prop \ $link swap 2array ,
|
||||
first "predicating" word-prop <$link> ,
|
||||
" class." ,
|
||||
] { } make $description ;
|
||||
|
||||
|
|
|
@ -348,3 +348,6 @@ M: array elements*
|
|||
] each
|
||||
] curry each
|
||||
] H{ } make-assoc keys ;
|
||||
|
||||
: <$link> ( topic -- element )
|
||||
\ $link swap 2array ;
|
||||
|
|
|
@ -8,7 +8,7 @@ IN: ui.commands
|
|||
[ gesture>string , ]
|
||||
[
|
||||
[ command-name , ]
|
||||
[ command-word \ $link swap 2array , ]
|
||||
[ command-word <$link> , ]
|
||||
[ command-description , ]
|
||||
tri
|
||||
] bi*
|
||||
|
|
Loading…
Reference in New Issue