]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/benchmark/e-ratios/e-ratios.factor
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota...
[factor.git] / extra / benchmark / e-ratios / e-ratios.factor
index b4bec1409dfe1750a5566cd99529ea1c92ffbfe6..6d1e03b4d027390f0480212f12a218c508d6cb36 100644 (file)
@@ -4,7 +4,7 @@ USING: kernel math math.combinatorics math.ranges sequences ;
 IN: benchmark.e-ratios
 
 : calculate-e-ratios ( n -- e )
-    iota [ factorial recip ] map-sum ;
+    <iota> [ factorial recip ] map-sum ;
 
 : e-ratios-benchmark ( -- )
     5 [ 300 calculate-e-ratios drop ] times ;