Safe Haskell | Safe-Infered |
---|
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
Safe Haskell | Safe-Infered |
---|
Little functions connected with IO
catchAlreadyExists :: IO a -> IO (Maybe a)Source
catchDoesNotExist :: IO a -> IO (Maybe a)Source
simpleModifyIORef :: IORef a -> (a -> (a, b)) -> IO bSource