]> gitweb.factorcode.org Git - factor.git/commitdiff
sequences: making copy-state indices integers.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sun, 19 May 2019 22:59:31 +0000 (15:59 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 19 May 2019 22:59:31 +0000 (15:59 -0700)
core/sequences/sequences.factor

index c40f9c31b02148117b479f484dbf4f387ba41412..a711f645af9745dd9603e57974ccc8507ccf8164 100644 (file)
@@ -283,9 +283,9 @@ ERROR: integer-length-expected obj ;
     dup integer? [ integer-length-expected ] unless ; inline
 
 TUPLE: copy-state
-    { src-i read-only }
+    { src-i integer read-only }
     { src read-only }
-    { dst-i read-only }
+    { dst-i integer read-only }
     { dst read-only } ;
 
 C: <copy> copy-state