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
uni-util-2.2.1.1: Utilities for the uniform workbench
Util.IOExtras
Description
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