Update GENERIC# docs now that stack effect is mandatory

db4
Slava Pestov 2009-03-26 21:26:06 -05:00
parent 84d968c5f6
commit b51ed8559e
1 changed files with 2 additions and 2 deletions

View File

@ -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: