/usr/share/doc/libghc-explicit-exception-doc/html/index.html is in libghc-explicit-exception-doc 0.1.7.1-4.
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 21 22 23 24 25 26 27 | <!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>explicit-exception-0.1.7.1: Exceptions which are explicit in the type signature.</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();};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">explicit-exception-0.1.7.1: Exceptions which are explicit in the type signature.</p></div><div id="content"><div id="description"><h1>explicit-exception-0.1.7.1: Exceptions which are explicit in the type signature.</h1><div class="doc"><p>Synchronous and Asynchronous exceptions which are explicit in the type signature.
The first ones are very similar to <code>Either</code> and <code>ErrorT</code>.
The second ones are used for <code>readFile</code> and <code>hGetContents</code>.
This package is a proposal for improved exception handling in Haskell.
It strictly separates between handling of
exceptional situations (file not found, invalid user input,
see <a href="http://www.haskell.org/haskellwiki/Exception">http://www.haskell.org/haskellwiki/Exception</a>) and
(programming) errors (division by zero, index out of range,
see <a href="http://www.haskell.org/haskellwiki/Error">http://www.haskell.org/haskellwiki/Error</a>).
Handling of the first one is called "exception handling",
whereas handling of errors is better known as "debugging".
</p><p>For applications see the packages <code>midi</code>, <code>spreadsheet</code>, <code>http-monad</code>.
</p><p>Although I'm not happy with the identifier style of the Monad Transformer Library
(partially intended for unqualified use)
I have tried to adopt it for this library,
in order to let Haskell programmers get accustomed easily to it.
</p><p>To do:
Because many people requested it,
we will provide a <code>bracket</code> function that frees a resource
both when an exception and an error occurs,
that is, it combines exception handling and debugging.
However note that freeing resources in case of an error is dangerous
and may cause further damage.
</p></div></div><div id="module-list"><p class="caption">Modules</p><ul><li><span id="control.n.1" class="module collapser" onclick="toggleSection('n.1')">Control</span><ul id="section.n.1" class="show"><li><span id="control.n.1.1" class="module collapser" onclick="toggleSection('n.1.1')">Monad</span><ul id="section.n.1.1" class="show"><li><span id="control.n.1.1.1" class="module collapser" onclick="toggleSection('n.1.1.1')">Exception</span><ul id="section.n.1.1.1" class="show"><li><span class="module"><span id="control.n.1.1.1.1" class="collapser" onclick="toggleSection('n.1.1.1.1')"> </span><a href="Control-Monad-Exception-Asynchronous.html">Control.Monad.Exception.Asynchronous</a></span><ul id="section.n.1.1.1.1" class="show"><li><span class="module"><a href="Control-Monad-Exception-Asynchronous-Lazy.html">Control.Monad.Exception.Asynchronous.Lazy</a></span></li><li><span class="module"><a href="Control-Monad-Exception-Asynchronous-Strict.html">Control.Monad.Exception.Asynchronous.Strict</a></span></li></ul></li><li><span class="module"><a href="Control-Monad-Exception-Synchronous.html">Control.Monad.Exception.Synchronous</a></span></li></ul></li></ul></li></ul></li></ul></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>
|