]> gitweb.factorcode.org Git - factor.git/commitdiff
help.tour: fix semantics line
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 17 Jan 2023 01:34:07 +0000 (17:34 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 17 Jan 2023 01:34:07 +0000 (17:34 -0800)
basis/help/tour/tour.factor

index b6ec0b6ddf433527bbae1454e6c3d6fc7b127429..1859c159e9758bc7c157c8aeaebd383fa4f104ac 100644 (file)
@@ -107,7 +107,7 @@ $snippet "1" }  to { $snippet "10" } , so we should produce such a list of numbe
 
 The word to produce a range is called { $link [a..b] }  (tokenization is trivial in Factor because words are 
 always separated by spaces, so this allows you to use any combination of non-whitespace characters as the name of a word; 
-there are no semantics to the { $snippet "[" } , the { $snippet "," }  and the { $snippet "]" }  in { $link [a..b] }  
+there are no semantics to the { $snippet "[" } , the { $snippet ".." }  and the { $snippet "]" }  in { $link [a..b] }  
 since it is just a token like { $snippet "foo" }  or { $snippet "bar" } ).
 
 The range we want starts with { $snippet "1" } , so we can use the simpler word { $link [1..b] }  that assumes the