[Haskell-beginners] What's the difference between those two solution?