]> gitweb.factorcode.org Git - factor.git/commitdiff
combinators: fix typo in docs for case.
authorJohn Benediktsson <mrjbq7@gmail.com>
Wed, 10 Aug 2011 23:25:21 +0000 (16:25 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 10 Aug 2011 23:25:21 +0000 (16:25 -0700)
core/combinators/combinators-docs.factor

index a1488ca5c678f8baa35dc75aadb329a443e2b7af..6e29b608099dd3d21341afe7a8bbda92a429b1b4 100644 (file)
@@ -346,7 +346,7 @@ HELP: case
 { $description
     "Compares " { $snippet "obj" } " against the first element of every pair, first evaluating the first element if it is a word. If some pair matches, removes " { $snippet "obj" } " from the stack and calls the second element of that pair, which must be a quotation."
     $nl
-    "If there is no case matching " { $snippet "obj" } ", the default case is taken. If the last element of " { $snippet "cases" } " is a quotation, the quotation is called with " { $snippet "obj" } " on the stack. Otherwise, a " { $link no-cond } " error is raised."
+    "If there is no case matching " { $snippet "obj" } ", the default case is taken. If the last element of " { $snippet "assoc" } " is a quotation, the quotation is called with " { $snippet "obj" } " on the stack. Otherwise, a " { $link no-cond } " error is raised."
     $nl
     "The following two phrases are equivalent:"
     { $code "{ { X [ Y ] } { Z [ T ] } } case" }