On Nov 14, 2012 10:44 PM, "Janek S." <fremenzone@poczta.onet.pl> wrote:
> 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