]> gitweb.factorcode.org Git - factor.git/blobdiff - core/vocabs/parser/parser.factor
Rename and add sorting words
[factor.git] / core / vocabs / parser / parser.factor
index 86de9d5fabf3bd1b4b5ea2088e908b65b3eeee35..43137631d999b5f70b49ac66aa32f2305ac0329b 100644 (file)
@@ -10,7 +10,7 @@ IN: vocabs.parser
 ERROR: no-word-error name ;
 
 : word-restarts ( possibilities -- restarts )
-    natural-sort [
+    sort [
         [ vocabulary>> "Use the " " vocabulary" surround ] keep
     ] { } map>assoc ;