]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/tuple-arrays/tuple-arrays.factor
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota...
[factor.git] / basis / tuple-arrays / tuple-arrays.factor
index 40cd416297dce72e28c1907bc0c2225d0b59c2b1..1ed3c867265a9ecb5cb1d97ca658dc7e4ca6363c 100644 (file)
@@ -22,7 +22,7 @@ MACRO: boa-unsafe ( class -- quot ) tuple-layout '[ _ <tuple-boa> ] ;
 
 MACRO: write-tuple ( class -- quot )
     [ '[ [ _ boa ] undo ] ]
-    [ tuple-arity iota <reversed> [ '[ [ _ ] dip set-nth-unsafe ] ] map '[ _ cleave ] ]
+    [ tuple-arity <iota> <reversed> [ '[ [ _ ] dip set-nth-unsafe ] ] map '[ _ cleave ] ]
     bi '[ _ dip @ ] ;
 
 : check-final ( class -- )