in reply to Re^2: Applying an array to a function
in thread Applying an array to a function

I use haskell a lot lately and it is nice to see that your last version is very close to how you can implement repeat into haskell:
repeat a = [a,a..]
Perl can be a really concise language. It astonish me time after time. I am really looking forward to perl6. (In haskell it is an infinite list, how is this in perl6?)
I got the answer already. Perl6 is also lazy evaluated, so infinite lists are supported.