]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/benchmark/random/random.factor
Fixing everything for mandatory stack effects
[factor.git] / extra / benchmark / random / random.factor
index 775595709a46ebd6502febd57e766a3523e76f5b..985c9a59b24477dd9f542290990bbe040d8a0cd2 100755 (executable)
@@ -1,7 +1,8 @@
 USING: io.files io.encodings.ascii random math.parser io math ;
 IN: benchmark.random
 
-: random-numbers-path "random-numbers.txt" temp-file ;
+: random-numbers-path ( -- path )
+    "random-numbers.txt" temp-file ;
 
 : write-random-numbers ( n -- )
     random-numbers-path ascii [