readIO

readIO :: Read a => String -> IO a
base Prelude, base System.IO
The readIO function is similar to read except that it signals parse failure to the IO monad instead of terminating the program.
readIORef :: IORef a -> IO a
base Data.IORef
Read the value of an IORef