]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/benchmark/dlists/dlists.factor
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota...
[factor.git] / extra / benchmark / dlists / dlists.factor
index 04c2acfd5946495af823afda8c0f1a561b07c696..9e7f7219b4c236a54b9353c9e27e754d2f02e8b5 100644 (file)
@@ -4,8 +4,8 @@ USING: deques dlists kernel math sequences ;
 IN: benchmark.dlists
 
 : dlists-benchmark ( -- )
-    5,000 iota [
-        [ iota 0 swap >dlist [ + ] slurp-deque ]
+    5,000 <iota> [
+        [ <iota> 0 swap >dlist [ + ] slurp-deque ]
         [ dup 1 - * 2 / ] bi assert=
     ] each ;