Safe Haskell | None |
---|---|
Language | Haskell98 |
AUTHOR : George Russell University of Bremen DATE : 2000 DESCRIPTION : This module provides a uniform interface for debugging purposes. In final versions of this module it would be best to make the debug function do nothing and force it to be inlined.
#########################################################################
Documentation
debugAct :: String -> IO a -> IO a Source #
If an action fails print out a message before propagating message.
alwaysDebug :: Show a => a -> IO () Source #
always show something to the log file
debugString :: String -> IO () Source #
Send a string to the debug file. This differs from debug, in that debug will Haskell-escape the string and add a newline, while just writes to the file with no interpretation.