[Haskell-beginners] Doubts about functional programming paradigm