Safe Haskell | Safe-Inferred |
---|
Util.IOExtras
Description
Little functions connected with IO
Documentation
catchAlreadyExists :: IO a -> IO (Maybe a)Source
catchDoesNotExist :: IO a -> IO (Maybe a)Source
simpleModifyIORef :: IORef a -> (a -> (a, b)) -> IO bSource