]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/compiler/tree/modular-arithmetic/modular-arithmetic-tests.factor
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota...
[factor.git] / basis / compiler / tree / modular-arithmetic / modular-arithmetic-tests.factor
index 3cf0d2e83686bd12ff89f5d4a9371417ceb13c15..96a7b36e7169b199e91f758652c0a9b8d6ee43fd 100644 (file)
@@ -77,7 +77,7 @@ TUPLE: declared-fixnum { x fixnum } ;
 
 { t } [
     [
-        { fixnum } declare iota 0 swap
+        { fixnum } declare <iota> 0 swap
         [
             drop 615949 * 797807 + 20 2^ rem dup 19 2^ -
         ] map
@@ -98,7 +98,7 @@ TUPLE: declared-fixnum { x fixnum } ;
 
 { t } [
     [
-        { integer } declare iota [ 256 mod ] map
+        { integer } declare <iota> [ 256 mod ] map
     ] { mod fixnum-mod } inlined?
 ] unit-test
 
@@ -134,7 +134,7 @@ TUPLE: declared-fixnum { x fixnum } ;
 
 { t } [
     [
-        { iota-tuple } declare [ 256 rem ] map
+        { iota } declare [ 256 rem ] map
     ] { mod fixnum-mod rem } inlined?
 ] unit-test