]> gitweb.factorcode.org Git - factor.git/commitdiff
slots: the docs for writer used obsolete (>>slot) syntax
authorPhilipp Brüschweiler <blei42@gmail.com>
Fri, 13 Aug 2010 21:50:10 +0000 (23:50 +0200)
committerPhilipp Brüschweiler <blei42@gmail.com>
Fri, 13 Aug 2010 21:50:10 +0000 (23:50 +0200)
core/slots/slots-docs.factor

index 1fcf40aa20b3346338b1ae13c63e29b016544c0f..e3a4eb5c6b5f1ba54744f7b982f57e53cda00e76 100644 (file)
@@ -7,7 +7,7 @@ IN: slots
 ARTICLE: "accessors" "Slot accessors"
 "For every tuple slot, a " { $emphasis "reader" } " method is defined in the " { $vocab-link "accessors" } " vocabulary. The reader is named " { $snippet { $emphasis "slot" } ">>" } " and given a tuple, pushes the slot value on the stack."
 $nl
-"Writable slots - that is, those not attributed " { $link read-only } " - also have a " { $emphasis "writer" } ". The writer is named " { $snippet "(>>" { $emphasis "slot" } ")" } " and stores a value into a slot. It has stack effect " { $snippet "( value object -- )" } ". If the slot is specialized to a specific class, the writer checks that the value being written into the slot is an instance of that class first. See " { $link "tuple-declarations" } " for details."
+"Writable slots - that is, those not attributed " { $link read-only } " - also have a " { $emphasis "writer" } ". The writer is named " { $snippet { $emphasis "slot" } "<<" } " and stores a value into a slot. It has stack effect " { $snippet "( value object -- )" } ". If the slot is specialized to a specific class, the writer checks that the value being written into the slot is an instance of that class first. See " { $link "tuple-declarations" } " for details."
 $nl
 "In addition, two utility words are defined for each writable slot."
 $nl