help: sigh sigh $predicate is used by help.lint.checks.
parent
f2a5a8b4ea
commit
d902616d12
|
@ -24,14 +24,15 @@ M: word word-help*
|
||||||
] { } map>assoc
|
] { } map>assoc
|
||||||
] bi@ append members \ $values prefix 1array ;
|
] bi@ append members \ $values prefix 1array ;
|
||||||
|
|
||||||
M: predicate word-help*
|
: $predicate ( element -- )
|
||||||
{ $values { "object" object } { "?" boolean } }
|
{ { "object" object } { "?" boolean } } $values
|
||||||
[
|
[
|
||||||
\ $description ,
|
|
||||||
"Tests if the object is an instance of the " ,
|
"Tests if the object is an instance of the " ,
|
||||||
swap "predicating" word-prop <$link> ,
|
first "predicating" word-prop <$link> ,
|
||||||
" class." ,
|
" class." ,
|
||||||
] { } make 2array ;
|
] { } make $description ;
|
||||||
|
|
||||||
|
M: predicate word-help* \ $predicate swap 2array 1array ;
|
||||||
|
|
||||||
M: class word-help* drop f ;
|
M: class word-help* drop f ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue