]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/unicode/collation/collation.factor
core: Add words/unwords/unwords-as and use them.
[factor.git] / basis / unicode / collation / collation.factor
index d1da246d2f09511e254e769521cf71e5af1f9da7..68a155fd5b6a5011db06b052d49c3a0aea49d215 100644 (file)
@@ -25,7 +25,7 @@ TUPLE: weight-levels primary secondary tertiary ignorable? ;
     ] map ;
 
 : parse-keys ( string -- chars )
-    " " split [ hex> ] "" map-as ;
+    words [ hex> ] "" map-as ;
 
 : parse-ducet ( file -- ducet )
     load-data-file [ [ parse-keys ] [ parse-weight ] bi* ] H{ } assoc-map-as ;