/usr/share/doc/libghc-lens-doc/html/GHC-Generics-Lens.html is in libghc-lens-doc 4.1.2.1-3.
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 | <!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>GHC.Generics.Lens</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_GHC-Generics-Lens.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/GHC-Generics-Lens.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.1.2.1: Lenses, Folds and Traversals</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>GHC</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Maintainer</th><td>Edward Kmett <ekmett@gmail.com></td></tr><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">GHC.Generics.Lens</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Note: <code>GHC.Generics</code> exports a number of names that collide with <code>Control.Lens</code>.
</p><p>You can use hiding or imports to mitigate this to an extent, and the following imports,
represent a fair compromise for user code:
</p><pre> import Control.Lens hiding (Rep)
import GHC.Generics hiding (from, to)
</pre><p>You can use <code><a href="Generics-Deriving-Lens.html#v:generic">generic</a></code> to replace <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/GHC-Generics.html#t:from">from</a></code> and <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/GHC-Generics.html#t:to">to</a></code> from <code>GHC.Generics</code>,
and probably won't be explicitly referencing <code><a href="Control-Lens-Representable.html#t:Rep">Rep</a></code> from <code>Control.Lens</code>
in code that uses generics.
</p><p>This module provides compatibility with older GHC versions by using the
<a href="http://hackage.haskell.org/package/generic-deriving">generic-deriving</a>
package.
</p></div></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src">module <a href="Generics-Deriving-Lens.html">Generics.Deriving.Lens</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>
|