]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/math/matrices/matrices.factor
core: Better names for (each) etc
[factor.git] / basis / math / matrices / matrices.factor
index cfbee2962cc5b7a92314ea57908036f80d6d72dc..68dbd7c97dffe5b8288872eb365fa2322771d58b 100644 (file)
@@ -122,7 +122,7 @@ ALIAS: transpose flip
 
 : unshaped-cols-iota ( matrix -- cols-iota )
   [ first-unsafe length ] keep
-  [ length min ] 1 (each-from) each-integer-from <iota> ; inline
+  [ length min ] 1 sequence-iterator-from each-integer-from <iota> ; inline
 
 : generic-anti-transpose-unsafe ( cols-iota matrix -- newmatrix )
     [ <reversed> [ nth-end-unsafe ] with { } map-as ] curry { } map-as ; inline