/usr/share/doc/libghc-derive-doc/html/Data-Derive-Fold.html is in libghc-derive-doc 2.5.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 | <!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.Derive.Fold</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-Derive-Fold.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Data-Derive-Fold.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">derive-2.5.13: A program and library to derive instances for data types</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">Data.Derive.Fold</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>A pseudo derivation. Derive a (non-recursive) fold function for
the type which takes one function per alternative constructor. Each
function takes the same arguments as the constructor and returns
a value. When applied to a value the fold function applies the
function for the matching constructor to the constructor fields.
This provides a first-class alternative to pattern matching to
deconstruct the data type.
</p></div></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:makeFold" class="def">makeFold</a> :: <a href="Data-Derive-Internal-Derivation.html#t:Derivation">Derivation</a><a href="src/Data-Derive-Fold.html#makeFold" class="link">Source</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>
|