]> gitweb.factorcode.org Git - factor.git/commitdiff
kernel: add stack effect declaration to usage example of object class in docs
authorKeita Haga <keitahaga@mail.com>
Sun, 16 Jan 2011 08:57:32 +0000 (17:57 +0900)
committerKeita Haga <keitahaga@mail.com>
Sun, 16 Jan 2011 08:58:36 +0000 (17:58 +0900)
core/kernel/kernel-docs.factor

index 3412ec767e5c6177fc88496c0e8f1ba7e1967ca3..98b60b1238be3be96bebb16e40c375997bd60ef9 100644 (file)
@@ -717,7 +717,7 @@ HELP: set-special-object ( obj n -- )
 HELP: object
 { $class-description
     "The class of all objects. If a generic word defines a method specializing on this class, the method is used as a fallback, if no other applicable method is found. For instance:"
-    { $code "GENERIC: enclose" "M: number enclose 1array ;" "M: object enclose ;" }
+    { $code "GENERIC: enclose ( number -- array )" "M: number enclose 1array ;" "M: object enclose ;" }
 } ;
 
 HELP: null