]> gitweb.factorcode.org Git - factor.git/commitdiff
hints: adding suffix/prefix to match append/prepend
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 10 Jan 2022 21:18:54 +0000 (13:18 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 10 Jan 2022 21:18:54 +0000 (13:18 -0800)
basis/hints/hints.factor

index 8e1c67c43e3255e1fe4d54272f7569e954e28b71..9d7bff44221920f94da5858053abf8a2f8b23031 100644 (file)
@@ -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