]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/delegate/delegate-docs.factor
factor: clean up whitespace in -docs files
[factor.git] / basis / delegate / delegate-docs.factor
index 30151bd634c69a3a4de0cf33b118ba9aa6d003a6..634683f526abddf802a1b02da63d742fcbf3b739 100644 (file)
@@ -19,13 +19,13 @@ HELP: define-consult
 
 HELP: CONSULT:
 { $syntax """CONSULT: group class
-    code ;""" } 
+    code ;""" }
 { $values { "group" "a protocol, generic word or tuple class" } { "class" "a class" } { "code" "code to get the object to which the method should be forwarded" } }
 { $description "Declares that objects of " { $snippet "class" } " will delegate the generic words contained in " { $snippet "group" } " to the object returned by executing " { $snippet "code" } " with the original object as an input." { $snippet "CONSULT:" } " will overwrite any existing methods on " { $snippet "class" } " for the members of " { $snippet "group" } ", but new methods can be added after the " { $snippet "CONSULT:" } " to override the delegation." } ;
 
 HELP: BROADCAST:
 { $syntax """BROADCAST: group class
-    code ;""" } 
+    code ;""" }
 { $values { "group" "a protocol, generic word or tuple class" } { "class" "a class" } { "code" "code to get the object to which the method should be forwarded" } }
 { $description "Declares that objects of " { $snippet "class" } " will delegate the generic words contained in " { $snippet "group" } " to every object in the sequence returned by executing " { $snippet "code" } " with the original object as an input." { $snippet "BROADCAST:" } " will overwrite any existing methods on " { $snippet "class" } " for the members of " { $snippet "group" } ", but new methods can be added after the " { $snippet "BROADCAST:" } " to override the delegation. Every generic word in " { $snippet "group" } " must return no outputs; otherwise, a " { $link broadcast-words-must-have-no-outputs } " error will be raised." } ;