Henning Thielemann wrote:
I think the verb is 'convolve'.
Possibly.
If ks is infinite it will not work.
Indeed.
If the correlate function could be altered to use Prelude list
functions only, I would think the above code works quite well with
stream fusion too. (Presumably you could do this using "inits" or
something?)
You mean 'tails' ? Would be rather straight-forward.
Hmm... Off the top of my head, I'm not sure which would be the correct
one... Either way, I haven't tried it, but it looks like it shouldn't be
hard.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe