[Haskell-beginners] Equivalent of IO Monad in other functional languages?