[Haskell-beginners] Bug or Intended behavior? ( Exception: stack overflow )