[Haskell-beginners] time complexity of pattern matching