/usr/share/doc/libghc-foundation-doc/html/Foundation-IO-Terminal.html is in libghc-foundation-doc 0.0.17-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 | <!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>Foundation.IO.Terminal</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Foundation-IO-Terminal.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Foundation-IO-Terminal.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">foundation-0.0.17: Alternative prelude with batteries and no dependencies</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>License</th><td>BSD-style</td></tr><tr><th>Maintainer</th><td>Foundation</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Portability</th><td>portable</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Foundation.IO.Terminal</p></div><div id="description"><p class="caption">Description</p><div class="doc empty"> </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:putStrLn">putStrLn</a> :: <a href="Foundation-String.html#t:String">String</a> -> <a href="Foundation.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:putStr">putStr</a> :: <a href="Foundation-String.html#t:String">String</a> -> <a href="Foundation.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:stdin">stdin</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-IO-Handle.html#t:Handle">Handle</a></li><li class="src short"><a href="#v:stdout">stdout</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-IO-Handle.html#t:Handle">Handle</a></li><li class="src short"><a href="#v:getArgs">getArgs</a> :: <a href="Foundation.html#t:IO">IO</a> [<a href="Foundation-String.html#t:String">String</a>]</li><li class="src short"><a href="#v:exitFailure">exitFailure</a> :: <a href="Foundation.html#t:IO">IO</a> a</li><li class="src short"><a href="#v:exitSuccess">exitSuccess</a> :: <a href="Foundation.html#t:IO">IO</a> a</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:putStrLn" class="def">putStrLn</a> :: <a href="Foundation-String.html#t:String">String</a> -> <a href="Foundation.html#t:IO">IO</a> () <a href="src/Foundation-IO-Terminal.html#putStrLn" class="link">Source</a> <a href="#v:putStrLn" class="selflink">#</a></p><div class="doc"><p>Print a string with a newline to standard output</p></div></div><div class="top"><p class="src"><a id="v:putStr" class="def">putStr</a> :: <a href="Foundation-String.html#t:String">String</a> -> <a href="Foundation.html#t:IO">IO</a> () <a href="src/Foundation-IO-Terminal.html#putStr" class="link">Source</a> <a href="#v:putStr" class="selflink">#</a></p><div class="doc"><p>Print a string to standard output</p></div></div><div class="top"><p class="src"><a id="v:stdin" class="def">stdin</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-IO-Handle.html#t:Handle">Handle</a> <a href="#v:stdin" class="selflink">#</a></p><div class="doc"><p>A handle managing input from the Haskell program's standard input channel.</p></div></div><div class="top"><p class="src"><a id="v:stdout" class="def">stdout</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-IO-Handle.html#t:Handle">Handle</a> <a href="#v:stdout" class="selflink">#</a></p><div class="doc"><p>A handle managing output to the Haskell program's standard output channel.</p></div></div><div class="top"><p class="src"><a id="v:getArgs" class="def">getArgs</a> :: <a href="Foundation.html#t:IO">IO</a> [<a href="Foundation-String.html#t:String">String</a>] <a href="src/Foundation-IO-Terminal.html#getArgs" class="link">Source</a> <a href="#v:getArgs" class="selflink">#</a></p><div class="doc"><p>Get the arguments from the terminal command</p></div></div><div class="top"><p class="src"><a id="v:exitFailure" class="def">exitFailure</a> :: <a href="Foundation.html#t:IO">IO</a> a <a href="#v:exitFailure" class="selflink">#</a></p><div class="doc"><p>The computation <code><a href="Foundation-IO-Terminal.html#v:exitFailure">exitFailure</a></code> is equivalent to
<code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-Exit.html#v:exitWith">exitWith</a></code> <code>(</code><code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-Exit.html#v:ExitFailure">ExitFailure</a></code> <em>exitfail</em><code>)</code>,
where <em>exitfail</em> is implementation-dependent.</p></div></div><div class="top"><p class="src"><a id="v:exitSuccess" class="def">exitSuccess</a> :: <a href="Foundation.html#t:IO">IO</a> a <a href="#v:exitSuccess" class="selflink">#</a></p><div class="doc"><p>The computation <code><a href="Foundation-IO-Terminal.html#v:exitSuccess">exitSuccess</a></code> is equivalent to
<code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-Exit.html#v:exitWith">exitWith</a></code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-Exit.html#v:ExitSuccess">ExitSuccess</a></code>, It terminates the program
successfully.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></html>
|