]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/benchmark/fasta/fasta.factor
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota...
[factor.git] / extra / benchmark / fasta / fasta.factor
index ccf695bf726d512828fbdefdf7498e7d49349c48..f602db3b03a18c57047a95f005150b3764f7eaee 100644 (file)
@@ -69,7 +69,7 @@ TYPED: write-random-fasta ( seed: float n: fixnum chars: byte-array floats: doub
 
 TYPED:: make-repeat-fasta ( k: fixnum len: fixnum alu: string -- k': fixnum )
     alu length :> kn
-    len iota [ k + kn mod alu nth-unsafe ] "" map-as print
+    len <iota> [ k + kn mod alu nth-unsafe ] "" map-as print
     k len + ;
 
 : write-repeat-fasta ( n alu desc id -- )