make-repeat-fasta ( k: fixnum len: fixnum alu: string -- k': fixnum )


Vocabulary
benchmark.fasta

Inputs
ka fixnum
lena fixnum
alua string


Outputs
k'a fixnum


Definition


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 k len + ;