! See http://factorcode.org/license.txt for BSD license.
USING: accessors arrays assocs byte-arrays byte-vectors classes
combinators definitions fry generic generic.single
-generic.standard hashtables io.binary kernel kernel.private math
-math.parser parser sbufs sequences sequences.private splitting
-strings vectors words ;
+generic.standard hashtables kernel kernel.private math
+math.parser parser sbufs sequences splitting strings vectors
+words ;
IN: hints
GENERIC: specializer-predicate ( spec -- quot )
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
\ assoc-stack { vector } set-specializer
-{ >le >be } [
- { { fixnum fixnum } { bignum fixnum } }
- set-specializer
-] each
-
-{ le> be> } [
- { byte-array } set-specializer
-] each
-
\ base> { string fixnum } set-specializer
M\ hashtable at*