yi-0.8.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 -> a Source

Outputs the given string before returning the second argument.

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

Traces x and returns y.

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

Like traceM, but returns ().

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