[Haskell-beginners] error handling approaches