]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/python/python.factor
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota...
[factor.git] / extra / python / python.factor
index 42c2a48b54af350e9225beef9e73241f9d061378..88bceafaf5fc6ea80f84168d9391a3e2755f28f4 100644 (file)
@@ -54,10 +54,10 @@ SPECIALIZED-ARRAY: void*
     [ rot py-list-set-item ] with each-index ;
 
 : py-tuple>array ( py-tuple -- arr )
-    dup py-tuple-size iota [ py-tuple-get-item ] with map ;
+    dup py-tuple-size <iota> [ py-tuple-get-item ] with map ;
 
 : py-list>vector ( py-list -- vector )
-    dup py-list-size iota [ py-list-get-item ] with V{ } map-as ;
+    dup py-list-size <iota> [ py-list-get-item ] with V{ } map-as ;
 
 DEFER: >py