
14 Nov
2012
14 Nov
'12
8:07 p.m.
On Nov 14, 2012 10:44 PM, "Janek S."
calculateSeq :: [Double] -> [Double] calculateSeq [] = [] calculateSeq (x:xs) = (sin . sqrt $ x) : xs
Do you really mean to calculate the 'sin . sqrt' of just the head of the list, or do you mean: calculateSeq = map (sin . sqrt) ? Bas