/usr/share/doc/libghc-uniplate-doc/html/Data-Generics-Str.html is in libghc-uniplate-doc 1.6.6-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 | <!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.Generics.Str</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-Generics-Str.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Data-Generics-Str.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">uniplate-1.6.6: Help writing simple, concise and fast generic operations.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>Safe-Infered</td></tr></table><p class="caption">Data.Generics.Str</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">The Data Type
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This module provides the <code><a href="Data-Generics-Str.html#t:Str">Str</a></code> data type, which is used by the
underlying <code>uniplate</code> and <code>biplate</code> methods. It should not
be used directly under normal circumstances.
</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">data</span> <a href="#t:Str">Str</a> a<ul class="subs"><li>= <a href="#v:Zero">Zero</a> </li><li>| <a href="#v:One">One</a> a </li><li>| <a href="#v:Two">Two</a> (<a href="Data-Generics-Str.html#t:Str">Str</a> a) (<a href="Data-Generics-Str.html#t:Str">Str</a> a) </li></ul></li><li class="src short"><a href="#v:strType">strType</a> :: <a href="Data-Generics-Str.html#t:Str">Str</a> a -> a</li><li class="src short"><a href="#v:strList">strList</a> :: <a href="Data-Generics-Str.html#t:Str">Str</a> a -> [a]</li><li class="src short"><a href="#v:listStr">listStr</a> :: [a] -> <a href="Data-Generics-Str.html#t:Str">Str</a> a</li><li class="src short"><a href="#v:strStructure">strStructure</a> :: <a href="Data-Generics-Str.html#t:Str">Str</a> a -> ([a], [a] -> <a href="Data-Generics-Str.html#t:Str">Str</a> a)</li></ul></div><div id="interface"><h1 id="g:1">The Data Type
</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Str" class="def">Str</a> a <a href="src/Data-Generics-Str.html#Str" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Zero" class="def">Zero</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:One" class="def">One</a> a</td><td class="doc empty"> </td></tr><tr><td class="src"><a name="v:Two" class="def">Two</a> (<a href="Data-Generics-Str.html#t:Str">Str</a> a) (<a href="Data-Generics-Str.html#t:Str">Str</a> a)</td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:Str" class="caption collapser" onclick="toggleSection('i:Str')">Instances</p><div id="section.i:Str" class="show"><table><tr><td class="src">Functor <a href="Data-Generics-Str.html#t:Str">Str</a></td><td class="doc empty"> </td></tr><tr><td class="src">Foldable <a href="Data-Generics-Str.html#t:Str">Str</a></td><td class="doc empty"> </td></tr><tr><td class="src">Traversable <a href="Data-Generics-Str.html#t:Str">Str</a></td><td class="doc empty"> </td></tr><tr><td class="src">Eq a => Eq (<a href="Data-Generics-Str.html#t:Str">Str</a> a)</td><td class="doc empty"> </td></tr><tr><td class="src">Show a => Show (<a href="Data-Generics-Str.html#t:Str">Str</a> a)</td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:strType" class="def">strType</a> :: <a href="Data-Generics-Str.html#t:Str">Str</a> a -> a<a href="src/Data-Generics-Str.html#strType" class="link">Source</a></p><div class="doc"><p>Take the type of the method, will crash if called
</p></div></div><div class="top"><p class="src"><a name="v:strList" class="def">strList</a> :: <a href="Data-Generics-Str.html#t:Str">Str</a> a -> [a]<a href="src/Data-Generics-Str.html#strList" class="link">Source</a></p><div class="doc"><p>Convert a <code><a href="Data-Generics-Str.html#t:Str">Str</a></code> to a list, assumes the value was created
with <code><a href="Data-Generics-Str.html#v:listStr">listStr</a></code>
</p></div></div><div class="top"><p class="src"><a name="v:listStr" class="def">listStr</a> :: [a] -> <a href="Data-Generics-Str.html#t:Str">Str</a> a<a href="src/Data-Generics-Str.html#listStr" class="link">Source</a></p><div class="doc"><p>Convert a list to a <code><a href="Data-Generics-Str.html#t:Str">Str</a></code>
</p></div></div><div class="top"><p class="src"><a name="v:strStructure" class="def">strStructure</a> :: <a href="Data-Generics-Str.html#t:Str">Str</a> a -> ([a], [a] -> <a href="Data-Generics-Str.html#t:Str">Str</a> a)<a href="src/Data-Generics-Str.html#strStructure" class="link">Source</a></p><div class="doc"><p>Transform a <code><a href="Data-Generics-Str.html#t:Str">Str</a></code> to a list, and back again, in a structure
preserving way. The output and input lists must be equal in
length.
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.10.0</p></div></body></html>
|