[Haskell-beginners] Ambigous type variable, why this error?