[Haskell-beginners] Good way of combining functions of type IO (Maybe a)