]> gitweb.factorcode.org Git - factor.git/blobdiff - core/slots/slots-docs.factor
Remove stack effects from HELP: declarations.
[factor.git] / core / slots / slots-docs.factor
index 1334954b6b19741790d4ff69ebae469c87461ba3..24796768c1ff533c0eef1b92f4e9ce168002e66f 100644 (file)
@@ -162,12 +162,12 @@ HELP: define-accessors
 { $description "Defines slot methods." }
 $low-level-note ;
 
-HELP: slot ( obj m -- value )
+HELP: slot
 { $values { "obj" object } { "m" "a non-negative fixnum" } { "value" object } }
 { $description "Reads the object stored at the " { $snippet "n" } "th slot of " { $snippet "obj" } "." }
 { $warning "This word is in the " { $vocab-link "slots.private" } " vocabulary because it does not perform type or bounds checks, and slot numbers are implementation detail." } ;
 
-HELP: set-slot ( value obj n -- )
+HELP: set-slot
 { $values { "value" object } { "obj" object } { "n" "a non-negative fixnum" } }
 { $description "Writes " { $snippet "value" } " to the " { $snippet "n" } "th slot of " { $snippet "obj" } "." }
 { $warning "This word is in the " { $vocab-link "slots.private" } " vocabulary because it does not perform type or bounds checks, and slot numbers are implementation detail." } ;