[Haskell-beginners] Function definition order and performance