]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/benchmark/regexp/regexp.factor
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota...
[factor.git] / extra / benchmark / regexp / regexp.factor
index aa0d5bff2c995f2e9e860c1e6d35c939193fa7ad..823c4899b962973339da394e2c66604c804215f4 100644 (file)
@@ -6,8 +6,8 @@ IN: benchmark.regexp
 
 : regexp-benchmark ( -- )
     200
-    20,000 iota [ number>string ] map
-    200 iota [ 1 + CHAR: a <string> ] map
+    20,000 <iota> [ number>string ] map
+    200 <iota> [ 1 + CHAR: a <string> ] map
     '[
         _ R/ \d+/ [ matches? ] curry all? t assert=
         _ R/ [a]+/ [ matches? ] curry all? t assert=