]> gitweb.factorcode.org Git - factor.git/commitdiff
combinators: fix docs for case.
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 10 Nov 2011 18:00:24 +0000 (10:00 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 10 Nov 2011 19:20:28 +0000 (11:20 -0800)
core/combinators/combinators-docs.factor

index 783b8209d1ef29f4cadcc9e7ff17f57a85e8756f..cabeddbbc1e71f8be99f5803d602812621d65f28 100644 (file)
@@ -361,7 +361,7 @@ HELP: case
         "    { yes [ ] } ! Do nothing"
         "    { no [ \"No way!\" throw ] }"
         "    { maybe [ \"Make up your mind!\" print ] }"
-        "    [ \"Invalid input; try again.\" print ]"
+        "    [ drop \"Invalid input; try again.\" print ]"
         "} case"
         "Make up your mind!"
     }