/usr/share/doc/libghc-file-location-doc/html/Debug-Util.html is in libghc-file-location-doc 0.4.5.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Debug.Util</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Debug-Util.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Debug-Util.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">file-location-0.4.5.2: common functions that show file location information</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">Debug.Util</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Functions that help you with debugging.
Most would make sense in the Debug.Trace module.
</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:debug">debug</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> a => a -> a</li><li class="src short"><a href="#v:debugM">debugM</a> :: (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> m, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> a) => a -> m a</li><li class="src short"><a href="#v:debugMsg">debugMsg</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> a => <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> a -> a</li><li class="src short"><a href="#v:debugMsgIf">debugMsgIf</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> a => <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> (a -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a>) -> a -> a</li><li class="src short"><a href="#v:ltrace">ltrace</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> a => <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> a -> a</li><li class="src short"><a href="#v:ltraceM">ltraceM</a> :: (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> m, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> a) => <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> a -> m a</li><li class="src short"><a href="#v:strace">strace</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> a => a -> a</li><li class="src short"><a href="#v:traceId">traceId</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> a => a -> a</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:debug" class="def">debug</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> a => a -> a<a href="src/Debug-Util.html#debug" class="link">Source</a></p><div class="doc"><p>A version of Debug.Trace.trace that just prints a value.
This should be included in Debug.Trace
</p></div></div><div class="top"><p class="src"><a name="v:debugM" class="def">debugM</a> :: (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> m, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> a) => a -> m a<a href="src/Debug-Util.html#debugM" class="link">Source</a></p><div class="doc"><p>Monadic debug - like debug, but works as a standalone line in a monad.
</p><p>TODO: TH version with error loaction info
</p></div></div><div class="top"><p class="src"><a name="v:debugMsg" class="def">debugMsg</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> a => <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> a -> a<a href="src/Debug-Util.html#debugMsg" class="link">Source</a></p><div class="doc"><p>A version of Debug.Trace.trace that just prints a value and a message.
This should be included in Debug.Trace
</p></div></div><div class="top"><p class="src"><a name="v:debugMsgIf" class="def">debugMsgIf</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> a => <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> (a -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a>) -> a -> a<a href="src/Debug-Util.html#debugMsgIf" class="link">Source</a></p><div class="doc"><p>A version of Debug.Trace.trace that just prints a value and a message.
This should be included in Debug.Trace
</p></div></div><div class="top"><p class="src"><a name="v:ltrace" class="def">ltrace</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> a => <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> a -> a<a href="src/Debug-Util.html#ltrace" class="link">Source</a></p><div class="doc"><p>Labelled trace - like <code><a href="Debug-Util.html#v:strace">strace</a></code>, but with a label prepended.
</p></div></div><div class="top"><p class="src"><a name="v:ltraceM" class="def">ltraceM</a> :: (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> m, <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> a) => <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -> a -> m a<a href="src/Debug-Util.html#ltraceM" class="link">Source</a></p><div class="doc"><p>Monadic debug - like debug, but works as a standalone line in a monad.
</p><p>TODO: TH version with error loaction info
</p></div></div><div class="top"><p class="src"><a name="v:strace" class="def">strace</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> a => a -> a<a href="src/Debug-Util.html#strace" class="link">Source</a></p><div class="doc"><p>Trace (print on stderr at runtime) a showable expression
like <code><a href="Debug-Util.html#v:debug">debug</a></code>, but do not print "DEBUG: ".
</p><p>"strace" stands for "show trace".
</p></div></div><div class="top"><p class="src"><a name="v:traceId" class="def">traceId</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> a => a -> a<a href="src/Debug-Util.html#traceId" class="link">Source</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.13.2</p></div></body></html>
|