/usr/share/doc/libghc-strict-doc/html/Data-Strict-Tuple.html is in libghc-strict-doc 0.3.2-11.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 | <!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.Strict.Tuple</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-Strict-Tuple.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Data-Strict-Tuple.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">strict-0.3.2: Strict data types and String IO.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Copyright</th><td>(c) 2006-2007 Roman Leshchinskiy</td></tr><tr><th>License</th><td>BSD-style (see the file LICENSE)</td></tr><tr><th>Maintainer</th><td>Roman Leshchinskiy <rl@cse.unsw.edu.au></td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Portability</th><td>portable</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Data.Strict.Tuple</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Strict pairs.</p><p>Same as regular Haskell pairs, but <code>(x :*: _|_) = (_|_ :*: y) = _|_</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">data</span> <a href="#t:Pair">Pair</a> a b = !a <a href="#v::-33-:">:!:</a> !b</li><li class="src short"><span class="keyword">type</span> <a href="#t::-33-:">(:!:)</a> = <a href="Data-Strict-Tuple.html#t:Pair">Pair</a></li><li class="src short"><a href="#v:fst">fst</a> :: <a href="Data-Strict-Tuple.html#t:Pair">Pair</a> a b -> a</li><li class="src short"><a href="#v:snd">snd</a> :: <a href="Data-Strict-Tuple.html#t:Pair">Pair</a> a b -> b</li><li class="src short"><a href="#v:curry">curry</a> :: (<a href="Data-Strict-Tuple.html#t:Pair">Pair</a> a b -> c) -> a -> b -> c</li><li class="src short"><a href="#v:uncurry">uncurry</a> :: (a -> b -> c) -> <a href="Data-Strict-Tuple.html#t:Pair">Pair</a> a b -> c</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:Pair" class="def">Pair</a> a b <a href="src/Data-Strict-Tuple.html#Pair" class="link">Source</a></p><div class="doc"><p>The type of strict pairs.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src">!a <a name="v::-33-:" class="def">:!:</a> !b <span class="fixity">infixl 2</span><span class="rightedge"></span></td><td class="doc empty"> </td></tr></table></div><div class="subs instances"><p id="control.i:Pair" class="caption collapser" onclick="toggleSection('i:Pair')">Instances</p><div id="section.i:Pair" 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/Prelude.html#t:Bounded">Bounded</a> a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Bounded">Bounded</a> b) => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Bounded">Bounded</a> (<a href="Data-Strict-Tuple.html#t:Pair">Pair</a> a b)</span> <a href="src/Data-Strict-Tuple.html#line-38" 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-Eq.html#t:Eq">Eq</a> a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> b) => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a> (<a href="Data-Strict-Tuple.html#t:Pair">Pair</a> a b)</span> <a href="src/Data-Strict-Tuple.html#line-38" 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-Ord.html#t:Ord">Ord</a> a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> b) => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a> (<a href="Data-Strict-Tuple.html#t:Pair">Pair</a> a b)</span> <a href="src/Data-Strict-Tuple.html#line-38" 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/Text-Read.html#t:Read">Read</a> a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> b) => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Read.html#t:Read">Read</a> (<a href="Data-Strict-Tuple.html#t:Pair">Pair</a> a b)</span> <a href="src/Data-Strict-Tuple.html#line-38" 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/Text-Show.html#t:Show">Show</a> a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> b) => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a> (<a href="Data-Strict-Tuple.html#t:Pair">Pair</a> a b)</span> <a href="src/Data-Strict-Tuple.html#line-38" 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-Ix.html#t:Ix">Ix</a> a, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ix.html#t:Ix">Ix</a> b) => <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ix.html#t:Ix">Ix</a> (<a href="Data-Strict-Tuple.html#t:Pair">Pair</a> a b)</span> <a href="src/Data-Strict-Tuple.html#line-38" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t::-33-:" class="def">(:!:)</a> = <a href="Data-Strict-Tuple.html#t:Pair">Pair</a> <span class="fixity">infixl 2</span><span class="rightedge"></span> <a href="src/Data-Strict-Tuple.html#%3A%21%3A" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:fst" class="def">fst</a> :: <a href="Data-Strict-Tuple.html#t:Pair">Pair</a> a b -> a <a href="src/Data-Strict-Tuple.html#fst" class="link">Source</a></p><div class="doc"><p>Extract the first component of a strict pair.</p></div></div><div class="top"><p class="src"><a name="v:snd" class="def">snd</a> :: <a href="Data-Strict-Tuple.html#t:Pair">Pair</a> a b -> b <a href="src/Data-Strict-Tuple.html#snd" class="link">Source</a></p><div class="doc"><p>Extract the second component of a strict pair.</p></div></div><div class="top"><p class="src"><a name="v:curry" class="def">curry</a> :: (<a href="Data-Strict-Tuple.html#t:Pair">Pair</a> a b -> c) -> a -> b -> c <a href="src/Data-Strict-Tuple.html#curry" class="link">Source</a></p><div class="doc"><p>Curry a function on strict pairs.</p></div></div><div class="top"><p class="src"><a name="v:uncurry" class="def">uncurry</a> :: (a -> b -> c) -> <a href="Data-Strict-Tuple.html#t:Pair">Pair</a> a b -> c <a href="src/Data-Strict-Tuple.html#uncurry" class="link">Source</a></p><div class="doc"><p>Convert a curried function to a function on strict pairs.</p></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>
|