]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/hints/hints.factor
basis: use lint.vocabs tool to trim using lists
[factor.git] / basis / hints / hints.factor
index 8e1c67c43e3255e1fe4d54272f7569e954e28b71..403bb4e12e3c7dd05da1cfd437a6f221d1591760 100644 (file)
@@ -3,8 +3,8 @@
 USING: accessors arrays assocs byte-arrays byte-vectors classes
 combinators definitions fry generic generic.single
 generic.standard hashtables kernel kernel.private math
-math.parser parser sbufs sequences sequences.private splitting
-strings vectors words ;
+math.parser parser sbufs sequences splitting strings vectors
+words ;
 IN: hints
 
 GENERIC: specializer-predicate ( spec -- quot )
@@ -94,11 +94,15 @@ set-specializer
     set-specializer
 ] each
 
-{ subseq subseq-unsafe } [
-    { { fixnum fixnum string } { fixnum fixnum array } }
+{ suffix prefix } [
+    { { string object } { array object } }
     set-specializer
 ] each
 
+\ subseq
+{ { fixnum fixnum string } { fixnum fixnum array } }
+set-specializer
+
 \ reverse!
 { { string } { array } }
 set-specializer