New at haskel having trouble with String -> Double in list
===

Hey  im having fun with this new language except sometimes its difficult to troubleshoot ....

well heres what my prof wants , he wants me to accept numbers from the user and calculate a running avg 

now so far this is what i have except my basic prog gives error for some type error

Im a Student in Comp Sci , and this is an assignment question which i am trying to do on my own !

     module Main where 

     import Data.List


     listM :: Double -> Double


     listM = [1, 2, 3]

     summingOne :: Double -> Double


     summingOne = sum listM / fromIntegral (length listM)


     main = do 
        
        putStrLn $ summingOne 

This is what i expect to happen, it should sum up all numbers in listM then divide by length of listM
and output to screen except it gives the follow errors :S 

