yi- The Haskell-Scriptable Editor

Safe HaskellSafe-Infered




initDebug :: FilePath -> IO ()Source

Set the file to which debugging output should be written. Though this is called initDebug. Debugging output is not created by default (i.e., if this function is never called.) The target file can not be changed, nor debugging disabled.

trace :: String -> a -> aSource

Outputs the given string before returning the second argument.

traceM :: Monad m => String -> a -> m aSource

Traces x and returns y.

traceM_ :: Monad m => String -> m ()Source

Like traceM, but returns ().