]> gitweb.factorcode.org Git - factor.git/commitdiff
sequences: fix example for unless-empty.
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 4 May 2017 01:24:14 +0000 (18:24 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 4 May 2017 01:24:14 +0000 (18:24 -0700)
core/sequences/sequences-docs.factor

index 1ba61d0d0b5b2ae1c0ceee254d500c3db2242a91..adc7a750cad2b3fb76a32668a369e733dd2b111b 100644 (file)
@@ -114,12 +114,12 @@ HELP: unless-empty
 { $examples "This word is equivalent to " { $link if-empty } " with an empty first quotation:"
     { $example
     "USING: sequences prettyprint ;"
-    "{ 4 5 6 } [ ] [ sum ] if-empty ."
+    "{ 4 5 6 } [ ] [ sum . ] if-empty"
     "15"
     }
     { $example
     "USING: sequences prettyprint ;"
-    "{ 4 5 6 } [ sum ] unless-empty ."
+    "{ 4 5 6 } [ sum . ] unless-empty"
     "15"
     }
 } ;