yi-0.7.1: The Haskell-Scriptable Editor

Safe HaskellNone




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 ().

logPutStrLn :: MonadIO m => String -> m ()Source

logError :: MonadIO m => String -> m ()Source

logStream :: Show a => String -> Chan a -> IO ()Source