[Haskell-beginners] Improving Performance