
2 Oct
2013
2 Oct
'13
10:11 a.m.
2013/10/2 Michal Kawalec
Hello,
I want to use the FFT library in Haskell and for that I need to create an array. However, when I input
array (1,100) [(i, i*i) | i <- [1..100]]
Hi Michal, I think you should just add type signature to the [1..100], like this: array (1,100) [(i, i*i) | i <- ([1..100]::[Int])] Best, Karol