/usr/share/doc/libghc-lens-doc/html/Control-Lens-Internal-Exception.html is in libghc-lens-doc 4.13-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 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | <!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>Control.Lens.Internal.Exception</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_Control-Lens-Internal-Exception.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Control-Lens-Internal-Exception.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">lens-4.13: Lenses, Folds and Traversals</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Copyright</th><td>(C) 2013-2015 Edward Kmett</td></tr><tr><th>License</th><td>BSD-style (see the file LICENSE)</td></tr><tr><th>Maintainer</th><td>Edward Kmett <ekmett@gmail.com></td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Portability</th><td>non-portable</td></tr><tr><th>Safe Haskell</th><td>Safe</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Control.Lens.Internal.Exception</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This module uses dirty tricks to generate a <code><a href="file:///usr/share/doc/libghc-exceptions-doc/html/Control-Monad-Catch.html#v:Handler">Handler</a></code> from an arbitrary
<code><a href="Control-Lens-Type.html#t:Fold">Fold</a></code>.</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"><span class="keyword">class</span> <a href="#t:Handleable">Handleable</a> e m h | h -> e m <span class="keyword">where</span><ul class="subs"><li><a href="#v:handler">handler</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> a => <a href="Control-Lens-Getter.html#t:Getting">Getting</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:First">First</a> a) e a -> (a -> m r) -> h r</li><li><a href="#v:handler_">handler_</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> a => <a href="Control-Lens-Getter.html#t:Getting">Getting</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:First">First</a> a) e a -> m r -> h r</li></ul></li><li class="src short"><span class="keyword">data</span> <a href="#t:HandlingException">HandlingException</a> = <a href="#v:HandlingException">HandlingException</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">class</span> <a name="t:Handleable" class="def">Handleable</a> e m h | h -> e m <span class="keyword">where</span> <a href="src/Control-Lens-Internal-Exception.html#Handleable" class="link">Source</a></p><div class="doc"><p>Both <code>exceptions</code> and <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception.html">Control.Exception</a> provide a <code><a href="file:///usr/share/doc/libghc-exceptions-doc/html/Control-Monad-Catch.html#v:Handler">Handler</a></code> type.</p><p>This lets us write combinators to build handlers that are agnostic about the choice of
which of these they use.</p></div><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="Control-Lens-Internal-Exception.html#v:handler">handler</a></p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a name="v:handler" class="def">handler</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> a => <a href="Control-Lens-Getter.html#t:Getting">Getting</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:First">First</a> a) e a -> (a -> m r) -> h r <a href="src/Control-Lens-Internal-Exception.html#handler" class="link">Source</a></p><div class="doc"><p>This builds a <code><a href="file:///usr/share/doc/libghc-exceptions-doc/html/Control-Monad-Catch.html#v:Handler">Handler</a></code> for just the targets of a given <code><a href="Control-Lens-Type.html#v:Prism">Prism</a></code> (or any <code><a href="Control-Lens-Type.html#t:Getter">Getter</a></code>, really).</p><pre><code><a href="file:///usr/share/doc/libghc-exceptions-doc/html/Control-Monad-Catch.html#v:catches">catches</a></code> ... [ <code><a href="Control-Lens-Internal-Exception.html#v:handler">handler</a></code> <code><a href="Control-Exception-Lens.html#v:_AssertionFailed">_AssertionFailed</a></code> (s -> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#v:print">print</a></code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Function.html#v:-36-">$</a></code> "Assertion Failed\n" <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-OldList.html#v:-43--43-">++</a></code> s)
, <code><a href="Control-Lens-Internal-Exception.html#v:handler">handler</a></code> <code><a href="Control-Exception-Lens.html#v:_ErrorCall">_ErrorCall</a></code> (s -> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#v:print">print</a></code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Function.html#v:-36-">$</a></code> "Error\n" <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/GHC-OldList.html#v:-43--43-">++</a></code> s)
]
</pre><p>This works ith both the <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception.html#t:Handler">Handler</a></code> type provided by <code>Control.Exception</code>:</p><pre><code><a href="Control-Lens-Internal-Exception.html#v:handler">handler</a></code> :: <code><a href="Control-Lens-Type.html#t:Getter">Getter</a></code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception-Base.html#t:SomeException">SomeException</a></code> a -> (a -> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a></code> r) -> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception.html#t:Handler">Handler</a></code> r
<code><a href="Control-Lens-Internal-Exception.html#v:handler">handler</a></code> :: <code><a href="Control-Lens-Type.html#t:Fold">Fold</a></code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception-Base.html#t:SomeException">SomeException</a></code> a -> (a -> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a></code> r) -> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception.html#t:Handler">Handler</a></code> r
<code><a href="Control-Lens-Internal-Exception.html#v:handler">handler</a></code> :: <code><a href="Control-Lens-Prism.html#v:Prism-39-">Prism'</a></code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception-Base.html#t:SomeException">SomeException</a></code> a -> (a -> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a></code> r) -> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception.html#t:Handler">Handler</a></code> r
<code><a href="Control-Lens-Internal-Exception.html#v:handler">handler</a></code> :: <code><a href="Control-Lens-Lens.html#v:Lens-39-">Lens'</a></code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception-Base.html#t:SomeException">SomeException</a></code> a -> (a -> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a></code> r) -> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception.html#t:Handler">Handler</a></code> r
<code><a href="Control-Lens-Internal-Exception.html#v:handler">handler</a></code> :: <code><a href="Control-Lens-Traversal.html#v:Traversal-39-">Traversal'</a></code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception-Base.html#t:SomeException">SomeException</a></code> a -> (a -> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a></code> r) -> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception.html#t:Handler">Handler</a></code> r
</pre><p>and with the <code><a href="file:///usr/share/doc/libghc-exceptions-doc/html/Control-Monad-Catch.html#t:Handler">Handler</a></code> type provided by <code>Control.Monad.Catch</code>:</p><pre><code><a href="Control-Lens-Internal-Exception.html#v:handler">handler</a></code> :: <code><a href="Control-Lens-Type.html#t:Getter">Getter</a></code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception-Base.html#t:SomeException">SomeException</a></code> a -> (a -> m r) -> <code><a href="file:///usr/share/doc/libghc-exceptions-doc/html/Control-Monad-Catch.html#t:Handler">Handler</a></code> m r
<code><a href="Control-Lens-Internal-Exception.html#v:handler">handler</a></code> :: <code><a href="Control-Lens-Type.html#t:Fold">Fold</a></code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception-Base.html#t:SomeException">SomeException</a></code> a -> (a -> m r) -> <code><a href="file:///usr/share/doc/libghc-exceptions-doc/html/Control-Monad-Catch.html#t:Handler">Handler</a></code> m r
<code><a href="Control-Lens-Internal-Exception.html#v:handler">handler</a></code> :: <code><a href="Control-Lens-Prism.html#v:Prism-39-">Prism'</a></code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception-Base.html#t:SomeException">SomeException</a></code> a -> (a -> m r) -> <code><a href="file:///usr/share/doc/libghc-exceptions-doc/html/Control-Monad-Catch.html#t:Handler">Handler</a></code> m r
<code><a href="Control-Lens-Internal-Exception.html#v:handler">handler</a></code> :: <code><a href="Control-Lens-Lens.html#v:Lens-39-">Lens'</a></code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception-Base.html#t:SomeException">SomeException</a></code> a -> (a -> m r) -> <code><a href="file:///usr/share/doc/libghc-exceptions-doc/html/Control-Monad-Catch.html#t:Handler">Handler</a></code> m r
<code><a href="Control-Lens-Internal-Exception.html#v:handler">handler</a></code> :: <code><a href="Control-Lens-Traversal.html#v:Traversal-39-">Traversal'</a></code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception-Base.html#t:SomeException">SomeException</a></code> a -> (a -> m r) -> <code><a href="file:///usr/share/doc/libghc-exceptions-doc/html/Control-Monad-Catch.html#t:Handler">Handler</a></code> m r
</pre><p>and with the <code><a href="Control-Monad-Error-Lens.html#v:Handler">Handler</a></code> type provided by <code>Control.Monad.Error.Lens</code>:</p><pre><code><a href="Control-Lens-Internal-Exception.html#v:handler">handler</a></code> :: <code><a href="Control-Lens-Type.html#t:Getter">Getter</a></code> e a -> (a -> m r) -> <code><a href="Control-Monad-Error-Lens.html#v:Handler">Handler</a></code> e m r
<code><a href="Control-Lens-Internal-Exception.html#v:handler">handler</a></code> :: <code><a href="Control-Lens-Type.html#t:Fold">Fold</a></code> e a -> (a -> m r) -> <code><a href="Control-Monad-Error-Lens.html#v:Handler">Handler</a></code> e m r
<code><a href="Control-Lens-Internal-Exception.html#v:handler">handler</a></code> :: <code><a href="Control-Lens-Prism.html#v:Prism-39-">Prism'</a></code> e a -> (a -> m r) -> <code><a href="Control-Monad-Error-Lens.html#v:Handler">Handler</a></code> e m r
<code><a href="Control-Lens-Internal-Exception.html#v:handler">handler</a></code> :: <code><a href="Control-Lens-Lens.html#v:Lens-39-">Lens'</a></code> e a -> (a -> m r) -> <code><a href="Control-Monad-Error-Lens.html#v:Handler">Handler</a></code> e m r
<code><a href="Control-Lens-Internal-Exception.html#v:handler">handler</a></code> :: <code><a href="Control-Lens-Traversal.html#v:Traversal-39-">Traversal'</a></code> e a -> (a -> m r) -> <code><a href="Control-Monad-Error-Lens.html#v:Handler">Handler</a></code> e m r
</pre></div><p class="src"><a name="v:handler_" class="def">handler_</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> a => <a href="Control-Lens-Getter.html#t:Getting">Getting</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Monoid.html#t:First">First</a> a) e a -> m r -> h r <a href="src/Control-Lens-Internal-Exception.html#handler_" class="link">Source</a></p><div class="doc"><p>This builds a <code><a href="file:///usr/share/doc/libghc-exceptions-doc/html/Control-Monad-Catch.html#v:Handler">Handler</a></code> for just the targets of a given <code><a href="Control-Lens-Prism.html#v:Prism">Prism</a></code> (or any <code><a href="Control-Lens-Type.html#t:Getter">Getter</a></code>, really).
that ignores its input and just recovers with the stated monadic action.</p><pre><code><a href="file:///usr/share/doc/libghc-exceptions-doc/html/Control-Monad-Catch.html#v:catches">catches</a></code> ... [ <code><a href="Control-Lens-Internal-Exception.html#v:handler_">handler_</a></code> <code><a href="Control-Exception-Lens.html#v:_NonTermination">_NonTermination</a></code> (<code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad.html#v:return">return</a></code> "looped")
, <code><a href="Control-Lens-Internal-Exception.html#v:handler_">handler_</a></code> <code><a href="Control-Exception-Lens.html#v:_StackOverflow">_StackOverflow</a></code> (<code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Monad.html#v:return">return</a></code> "overflow")
]
</pre><p>This works with the <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception.html#t:Handler">Handler</a></code> type provided by <code>Control.Exception</code>:</p><pre><code><a href="Control-Lens-Internal-Exception.html#v:handler_">handler_</a></code> :: <code><a href="Control-Lens-Type.html#t:Getter">Getter</a></code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception-Base.html#t:SomeException">SomeException</a></code> a -> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a></code> r -> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception.html#t:Handler">Handler</a></code> r
<code><a href="Control-Lens-Internal-Exception.html#v:handler_">handler_</a></code> :: <code><a href="Control-Lens-Type.html#t:Fold">Fold</a></code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception-Base.html#t:SomeException">SomeException</a></code> a -> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a></code> r -> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception.html#t:Handler">Handler</a></code> r
<code><a href="Control-Lens-Internal-Exception.html#v:handler_">handler_</a></code> :: <code><a href="Control-Lens-Prism.html#v:Prism-39-">Prism'</a></code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception-Base.html#t:SomeException">SomeException</a></code> a -> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a></code> r -> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception.html#t:Handler">Handler</a></code> r
<code><a href="Control-Lens-Internal-Exception.html#v:handler_">handler_</a></code> :: <code><a href="Control-Lens-Lens.html#v:Lens-39-">Lens'</a></code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception-Base.html#t:SomeException">SomeException</a></code> a -> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a></code> r -> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception.html#t:Handler">Handler</a></code> r
<code><a href="Control-Lens-Internal-Exception.html#v:handler_">handler_</a></code> :: <code><a href="Control-Lens-Traversal.html#v:Traversal-39-">Traversal'</a></code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception-Base.html#t:SomeException">SomeException</a></code> a -> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a></code> r -> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception.html#t:Handler">Handler</a></code> r
</pre><p>and with the <code><a href="file:///usr/share/doc/libghc-exceptions-doc/html/Control-Monad-Catch.html#t:Handler">Handler</a></code> type provided by <code>Control.Monad.Catch</code>:</p><pre><code><a href="Control-Lens-Internal-Exception.html#v:handler_">handler_</a></code> :: <code><a href="Control-Lens-Type.html#t:Getter">Getter</a></code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception-Base.html#t:SomeException">SomeException</a></code> a -> m r -> <code><a href="file:///usr/share/doc/libghc-exceptions-doc/html/Control-Monad-Catch.html#t:Handler">Handler</a></code> m r
<code><a href="Control-Lens-Internal-Exception.html#v:handler_">handler_</a></code> :: <code><a href="Control-Lens-Type.html#t:Fold">Fold</a></code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception-Base.html#t:SomeException">SomeException</a></code> a -> m r -> <code><a href="file:///usr/share/doc/libghc-exceptions-doc/html/Control-Monad-Catch.html#t:Handler">Handler</a></code> m r
<code><a href="Control-Lens-Internal-Exception.html#v:handler_">handler_</a></code> :: <code><a href="Control-Lens-Prism.html#v:Prism-39-">Prism'</a></code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception-Base.html#t:SomeException">SomeException</a></code> a -> m r -> <code><a href="file:///usr/share/doc/libghc-exceptions-doc/html/Control-Monad-Catch.html#t:Handler">Handler</a></code> m r
<code><a href="Control-Lens-Internal-Exception.html#v:handler_">handler_</a></code> :: <code><a href="Control-Lens-Lens.html#v:Lens-39-">Lens'</a></code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception-Base.html#t:SomeException">SomeException</a></code> a -> m r -> <code><a href="file:///usr/share/doc/libghc-exceptions-doc/html/Control-Monad-Catch.html#t:Handler">Handler</a></code> m r
<code><a href="Control-Lens-Internal-Exception.html#v:handler_">handler_</a></code> :: <code><a href="Control-Lens-Traversal.html#v:Traversal-39-">Traversal'</a></code> <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception-Base.html#t:SomeException">SomeException</a></code> a -> m r -> <code><a href="file:///usr/share/doc/libghc-exceptions-doc/html/Control-Monad-Catch.html#t:Handler">Handler</a></code> m r
</pre><p>and with the <code><a href="Control-Monad-Error-Lens.html#v:Handler">Handler</a></code> type provided by <code>Control.Monad.Error.Lens</code>:</p><pre><code><a href="Control-Lens-Internal-Exception.html#v:handler_">handler_</a></code> :: <code><a href="Control-Lens-Type.html#t:Getter">Getter</a></code> e a -> m r -> <code><a href="Control-Monad-Error-Lens.html#v:Handler">Handler</a></code> e m r
<code><a href="Control-Lens-Internal-Exception.html#v:handler_">handler_</a></code> :: <code><a href="Control-Lens-Type.html#t:Fold">Fold</a></code> e a -> m r -> <code><a href="Control-Monad-Error-Lens.html#v:Handler">Handler</a></code> e m r
<code><a href="Control-Lens-Internal-Exception.html#v:handler_">handler_</a></code> :: <code><a href="Control-Lens-Prism.html#v:Prism-39-">Prism'</a></code> e a -> m r -> <code><a href="Control-Monad-Error-Lens.html#v:Handler">Handler</a></code> e m r
<code><a href="Control-Lens-Internal-Exception.html#v:handler_">handler_</a></code> :: <code><a href="Control-Lens-Lens.html#v:Lens-39-">Lens'</a></code> e a -> m r -> <code><a href="Control-Monad-Error-Lens.html#v:Handler">Handler</a></code> e m r
<code><a href="Control-Lens-Internal-Exception.html#v:handler_">handler_</a></code> :: <code><a href="Control-Lens-Traversal.html#v:Traversal-39-">Traversal'</a></code> e a -> m r -> <code><a href="Control-Monad-Error-Lens.html#v:Handler">Handler</a></code> e m r
</pre></div></div><div class="subs instances"><p id="control.i:Handleable" class="caption collapser" onclick="toggleSection('i:Handleable')">Instances</p><div id="section.i:Handleable" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="Control-Lens-Internal-Exception.html#t:Handleable">Handleable</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception-Base.html#t:SomeException">SomeException</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception.html#t:Handler">Handler</a></span> <a href="src/Control-Lens-Internal-Exception.html#line-140" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Typeable-Internal.html#t:Typeable">Typeable</a> (* -> *) m => <a href="Control-Lens-Internal-Exception.html#t:Handleable">Handleable</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception-Base.html#t:SomeException">SomeException</a> m (<a href="file:///usr/share/doc/libghc-exceptions-doc/html/Control-Monad-Catch.html#t:Handler">Handler</a> m)</span> <a href="src/Control-Lens-Internal-Exception.html#line-143" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Control-Lens-Internal-Exception.html#t:Handleable">Handleable</a> e m (<a href="Control-Monad-Error-Lens.html#t:Handler">Handler</a> e m)</span> <a href="src/Control-Lens-Internal-Exception.html#line-196" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:HandlingException" class="def">HandlingException</a> <a href="src/Control-Lens-Internal-Exception.html#HandlingException" class="link">Source</a></p><div class="doc"><p>There was an <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception-Base.html#t:Exception">Exception</a></code> caused by abusing the internals of a <code><a href="file:///usr/share/doc/libghc-exceptions-doc/html/Control-Monad-Catch.html#v:Handler">Handler</a></code>.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:HandlingException" class="def">HandlingException</a></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:HandlingException" class="caption collapser" onclick="toggleSection('i:HandlingException')">Instances</p><div id="section.i:HandlingException" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> <a href="Control-Lens-Internal-Exception.html#t:HandlingException">HandlingException</a></span> <a href="src/Control-Lens-Internal-Exception.html#line-157" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Control-Exception-Base.html#t:Exception">Exception</a> <a href="Control-Lens-Internal-Exception.html#t:HandlingException">HandlingException</a></span> <a href="src/Control-Lens-Internal-Exception.html#line-159" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Control-Exception-Lens.html#t:AsHandlingException">AsHandlingException</a> <a href="Control-Lens-Internal-Exception.html#t:HandlingException">HandlingException</a></span> <a href="src/Control-Exception-Lens.html#line-1142" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.16.1</p></div></body></html>
|