[Haskell-beginners] why is something different within a function when it comes out?