]> gitweb.factorcode.org Git - factor.git/commitdiff
splitting.extras: need to hint split-harvest.
authorJohn Benediktsson <mrjbq7@gmail.com>
Fri, 13 Dec 2013 03:32:58 +0000 (19:32 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Fri, 13 Dec 2013 03:32:58 +0000 (19:32 -0800)
extra/splitting/extras/extras.factor

index 9fe4fd098dc93ca6be21e01f4fab6302b1abd94a..328c42ab67e7b27412592014a0e9e7f7bc256eb6 100644 (file)
@@ -1,4 +1,4 @@
-USING: kernel math sequences ;
+USING: hints kernel math sequences strings ;
 
 IN: splitting.extras
 
@@ -59,3 +59,6 @@ PRIVATE>
 
 : split-harvest ( seq separators -- pieces )
     [ member? ] curry split-when-harvest ; inline
+
+{ split* split*-slice split-harvest }
+[ { string string } set-specializer ] each