classes: update with quotation stack effects.

master
John Benediktsson 2020-09-26 10:28:35 -07:00
parent dbdf4540bc
commit 840159710e
1 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ HELP: contained-classes
{ $see-also all-contained-classes } ;
HELP: define-predicate
{ $values { "class" class } { "quot" quotation } }
{ $values { "class" class } { "quot" { $quotation ( obj -- ? ) } } }
{ $description "Defines a predicate word for a class." }
$low-level-note ;
@ -105,7 +105,7 @@ HELP: metaclass-changed
{ $description "Notifies the class 'class' that its metaclass 'use' has changed." } ;
HELP: predicate-def
{ $values { "obj" "a type object" } { "quot" quotation } }
{ $values { "obj" "a type object" } { "quot" { $quotation ( obj -- ? ) } } }
{ $description "Outputs a quotation that can be used to check if objects are an instance of the given type." }
{ $examples
{ $example