]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/benchmark/iteration/iteration.factor
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota...
[factor.git] / extra / benchmark / iteration / iteration.factor
index 4b2a14fb0defe2948d40b938e2971d592598eb33..563621ef1e402e6910950aad6c9a97128e60af11 100644 (file)
@@ -2,7 +2,7 @@ IN: benchmark.iteration
 USING: sequences vectors arrays strings sbufs math math.vectors
 kernel ;
 
-: <range> ( from to -- seq ) dup iota <slice> ; inline
+: <range> ( from to -- seq ) dup <iota> <slice> ; inline
 
 : vector-iter ( -- ) 100 [ 0 100000 <range> >vector [ ] map drop ] times ;
 : array-iter ( -- ) 100 [ 0 100000 <range> >array [ ] map drop ] times ;