[Haskell-cafe] Composition and type magic
Sumit Sahrawat, Maths & Computing, IIT (BHU)
sumit.sahrawat.apm13 at iitbhu.ac.in
Tue Feb 24 03:11:50 UTC 2015
I defined a function for discrete convolution, i.e
conv xs = sum . zipWith (*) xs . reverse
And I was wondering, can it be done without explicitly passing in the xs
I've seen people play with (.).(.) and foldl foldl foldl and was thinking
that maybe something similar might be used here.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe