Copyright | 2005 Tomasz Zielonka |
---|---|
License | GPL |
Maintainer | darcs-devel@darcs.net |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
This was originally Tomasz Zielonka's AtExit module, slightly generalised to include global variables. Here, we attempt to cover broad, global features, such as exit handlers. These features slightly break the Haskellian purity of darcs, in favour of programming convenience.
Documentation
setTimingsMode :: IO () Source
whenDebugMode :: IO () -> IO () Source
withDebugMode :: (Bool -> IO a) -> IO a Source
setDebugMode :: IO () Source
debugMessage :: String -> IO () Source
addCRCWarning :: FilePath -> IO () Source
getCRCWarnings :: IO [FilePath] Source
resetCRCWarnings :: IO () Source
addBadSource :: String -> IO () Source
getBadSourcesList :: IO [String] Source
isBadSource :: IO (String -> Bool) Source
isReachableSource :: IO (String -> Bool) Source
addReachableSource :: String -> IO () Source