
12 May
2015
12 May
'15
5:23 a.m.
On 12/05/15 11:43, Henk-Jan van Tuyl wrote:
You could use something like: toDouble :: FFTWReal r => r -> Double toDouble = id
I don't think this is going to typecheck. You probably had something like this in mind: toDouble :: (forall r . FFTWReal r => r) -> Double toDouble d = d Here's a simpler way to do that: toDouble :: Double -> Double toDouble = id Roman