/usr/share/doc/libghc-void-doc/html/Data-Void.html is in libghc-void-doc 0.6.1-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 | <!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>Data.Void</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_Data-Void.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Data-Void.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">void-0.6.1: A Haskell 98 logically uninhabited data type</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>portable</td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Maintainer</th><td>Edward Kmett <ekmett@gmail.com></td></tr><tr><th>Safe Haskell</th><td>Trustworthy</td></tr></table><p class="caption">Data.Void</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"><span class="keyword">data</span> <a href="#t:Void">Void</a> </li><li class="src short"><a href="#v:absurd">absurd</a> :: <a href="Data-Void.html#t:Void">Void</a> -> a</li><li class="src short"><a href="#v:vacuous">vacuous</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Functor">Functor</a> f => f <a href="Data-Void.html#t:Void">Void</a> -> f a</li><li class="src short"><a href="#v:vacuousM">vacuousM</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> m => m <a href="Data-Void.html#t:Void">Void</a> -> m a</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Void" class="def">Void</a> <a href="src/Data-Void.html#Void" class="link">Source</a></p><div class="doc"><p>A logically uninhabited data type.
</p></div><div class="subs instances"><p id="control.i:Void" class="caption collapser" onclick="toggleSection('i:Void')">Instances</p><div id="section.i:Void" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Eq.html#t:Eq">Eq</a> <a href="Data-Void.html#t:Void">Void</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Data.html#t:Data">Data</a> <a href="Data-Void.html#t:Void">Void</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Ord.html#t:Ord">Ord</a> <a href="Data-Void.html#t:Void">Void</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Read.html#t:Read">Read</a> <a href="Data-Void.html#t:Void">Void</a></td><td class="doc"><p>Reading a <code><a href="Data-Void.html#t:Void">Void</a></code> value is always a parse error, considering <code><a href="Data-Void.html#t:Void">Void</a></code> as
a data type with no constructors.
</p></td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> <a href="Data-Void.html#t:Void">Void</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Ix.html#t:Ix">Ix</a> <a href="Data-Void.html#t:Void">Void</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Typeable-Internal.html#t:Typeable">Typeable</a> <a href="Data-Void.html#t:Void">Void</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/GHC-Generics.html#t:Generic">Generic</a> <a href="Data-Void.html#t:Void">Void</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Exception-Base.html#t:Exception">Exception</a> <a href="Data-Void.html#t:Void">Void</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-hashable-doc/html/Data-Hashable.html#t:Hashable">Hashable</a> <a href="Data-Void.html#t:Void">Void</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-semigroups-doc/html/Data-Semigroup.html#t:Semigroup">Semigroup</a> <a href="Data-Void.html#t:Void">Void</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:absurd" class="def">absurd</a> :: <a href="Data-Void.html#t:Void">Void</a> -> a<a href="src/Data-Void.html#absurd" class="link">Source</a></p><div class="doc"><p>Since <code><a href="Data-Void.html#t:Void">Void</a></code> values logically don't exist, this witnesses the logical
reasoning tool of "ex falso quodlibet".
</p></div></div><div class="top"><p class="src"><a name="v:vacuous" class="def">vacuous</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Functor">Functor</a> f => f <a href="Data-Void.html#t:Void">Void</a> -> f a<a href="src/Data-Void.html#vacuous" class="link">Source</a></p><div class="doc"><p>If <code><a href="Data-Void.html#t:Void">Void</a></code> is uninhabited then any <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Functor">Functor</a></code> that holds only values of type <code><a href="Data-Void.html#t:Void">Void</a></code>
is holding no values.
</p></div></div><div class="top"><p class="src"><a name="v:vacuousM" class="def">vacuousM</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a> m => m <a href="Data-Void.html#t:Void">Void</a> -> m a<a href="src/Data-Void.html#vacuousM" class="link">Source</a></p><div class="doc"><p>If <code><a href="Data-Void.html#t:Void">Void</a></code> is uninhabited then any <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Monad.html#t:Monad">Monad</a></code> that holds values of type <code><a href="Data-Void.html#t:Void">Void</a></code>
is holding no values.
</p></div></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>
|