[Haskell-beginners] Why can't I return a partially applied function in my example?