]> gitweb.factorcode.org Git - factor.git/commitdiff
typo in <effect> docs
authorJoe Groff <arcata@gmail.com>
Thu, 11 Mar 2010 19:22:28 +0000 (11:22 -0800)
committerJoe Groff <arcata@gmail.com>
Thu, 11 Mar 2010 19:22:28 +0000 (11:22 -0800)
core/effects/effects-docs.factor

index e97120d26bc1339f2a6b9222e2310015e6cf7f73..0d4da504fb4b5dd121409233ac721ac852b820ef 100644 (file)
@@ -44,7 +44,7 @@ HELP: <effect>
     { "out" "a sequence of strings or string–type pairs" }
     { "effect" effect }
 }
-{ $description "Constructs an " { $link effect } " object. Each element of " { $snippet "in" } " and " { $snippet "out" } " must be either a string (which is equivalent to a " { $snippet "name" } " in literal stack effect syntax), or a " { $link pair } " where the first element is a string and the second is either a " { $link class } " or effect (which is equivalent to " { $snippet "name: class" } " or " { $snippet "name: ( nested -- effect )" } " in the literal syntax. If the " { $snippet "out" } " array consists of a single string element " { $snippet "\"*\"" } ", a terminating stack effect will be constructed." }
+{ $description "Constructs an " { $link effect } " object. Each element of " { $snippet "in" } " and " { $snippet "out" } " must be either a string, which is equivalent to a " { $snippet "name" } " in literal stack effect syntax), or a " { $link pair } " where the first element is a string and the second is either a " { $link class } " or effect, which is equivalent to " { $snippet "name: class" } " or " { $snippet "name: ( nested -- effect )" } " in the literal syntax. If the " { $snippet "out" } " array consists of a single string element " { $snippet "\"*\"" } ", a terminating stack effect will be constructed." }
 { $notes "This word cannot construct effects with " { $link "effects-variables" } ". Use " { $link <variable-effect> } " to construct variable stack effects." }
 { $examples
 { $example """USING: effects prettyprint ;