From b51ed8559ed5273c35b0253269ba6a126f78ec3f Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Thu, 26 Mar 2009 21:26:06 -0500 Subject: [PATCH] Update GENERIC# docs now that stack effect is mandatory --- core/syntax/syntax-docs.factor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/syntax/syntax-docs.factor b/core/syntax/syntax-docs.factor index 6a7e8116cd..e8f699748f 100644 --- a/core/syntax/syntax-docs.factor +++ b/core/syntax/syntax-docs.factor @@ -566,8 +566,8 @@ HELP: GENERIC# { $description "Defines a new generic word which dispatches on the " { $snippet "n" } "th most element from the top of the stack in the current vocabulary. Initially, it contains no methods, and thus will throw a " { $link no-method } " error when called." } { $notes "The following two definitions are equivalent:" - { $code "GENERIC: foo" } - { $code "GENERIC# foo 0" } + { $code "GENERIC: foo ( obj -- )" } + { $code "GENERIC# foo 0 ( obj -- )" } } ; HELP: MATH: