/usr/share/doc/libghc-quickcheck2-doc/html/Test-QuickCheck-Poly.html is in libghc-quickcheck2-doc 2.8.1-2.
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 | <!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>Test.QuickCheck.Poly</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_Test-QuickCheck-Poly.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Test-QuickCheck-Poly.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">QuickCheck-2.8.1: Automatic testing of Haskell programs</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Test.QuickCheck.Poly</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Types to help with testing polymorphic properties.</p><p>Types <code><a href="Test-QuickCheck-Poly.html#t:A">A</a></code>, <code><a href="Test-QuickCheck-Poly.html#t:B">B</a></code> and <code><a href="Test-QuickCheck-Poly.html#t:C">C</a></code> are <code>newtype</code> wrappers around <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Integer">Integer</a></code> that
implement <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Eq.html#t:Eq">Eq</a></code>, <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Text-Show.html#t:Show">Show</a></code>, <code><a href="Test-QuickCheck-Arbitrary.html#t:Arbitrary">Arbitrary</a></code> and <code><a href="Test-QuickCheck-Arbitrary.html#t:CoArbitrary">CoArbitrary</a></code>. Types
<code><a href="Test-QuickCheck-Poly.html#t:OrdA">OrdA</a></code>, <code><a href="Test-QuickCheck-Poly.html#t:OrdB">OrdB</a></code> and <code><a href="Test-QuickCheck-Poly.html#t:OrdC">OrdC</a></code> also implement <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Data-Ord.html#t:Ord">Ord</a></code> and <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Num">Num</a></code>.</p><p>See also <a href="Test-QuickCheck-All.html">Test.QuickCheck.All</a> for an automatic way of testing
polymorphic properties.</p></div></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">newtype</span> <a name="t:A" class="def">A</a> <a href="src/Test-QuickCheck-Poly.html#A" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:A" class="def">A</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:unA" class="def">unA</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Integer">Integer</a></dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:A" class="caption collapser" onclick="toggleSection('i:A')">Instances</p><div id="section.i:A" 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/Data-Eq.html#t:Eq">Eq</a> <a href="Test-QuickCheck-Poly.html#t:A">A</a></span> <a href="src/Test-QuickCheck-Poly.html#line-30" 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 href="Test-QuickCheck-Poly.html#t:A">A</a></span> <a href="src/Test-QuickCheck-Poly.html#line-32" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Test-QuickCheck-Arbitrary.html#t:CoArbitrary">CoArbitrary</a> <a href="Test-QuickCheck-Poly.html#t:A">A</a></span> <a href="src/Test-QuickCheck-Poly.html#line-39" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Test-QuickCheck-Arbitrary.html#t:Arbitrary">Arbitrary</a> <a href="Test-QuickCheck-Poly.html#t:A">A</a></span> <a href="src/Test-QuickCheck-Poly.html#line-35" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Test-QuickCheck-Function.html#t:Function">Function</a> <a href="Test-QuickCheck-Poly.html#t:A">A</a></span> <a href="src/Test-QuickCheck-Function.html#line-204" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a name="t:B" class="def">B</a> <a href="src/Test-QuickCheck-Poly.html#B" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:B" class="def">B</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:unB" class="def">unB</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Integer">Integer</a></dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:B" class="caption collapser" onclick="toggleSection('i:B')">Instances</p><div id="section.i:B" 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/Data-Eq.html#t:Eq">Eq</a> <a href="Test-QuickCheck-Poly.html#t:B">B</a></span> <a href="src/Test-QuickCheck-Poly.html#line-45" 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 href="Test-QuickCheck-Poly.html#t:B">B</a></span> <a href="src/Test-QuickCheck-Poly.html#line-47" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Test-QuickCheck-Arbitrary.html#t:CoArbitrary">CoArbitrary</a> <a href="Test-QuickCheck-Poly.html#t:B">B</a></span> <a href="src/Test-QuickCheck-Poly.html#line-54" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Test-QuickCheck-Arbitrary.html#t:Arbitrary">Arbitrary</a> <a href="Test-QuickCheck-Poly.html#t:B">B</a></span> <a href="src/Test-QuickCheck-Poly.html#line-50" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Test-QuickCheck-Function.html#t:Function">Function</a> <a href="Test-QuickCheck-Poly.html#t:B">B</a></span> <a href="src/Test-QuickCheck-Function.html#line-207" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a name="t:C" class="def">C</a> <a href="src/Test-QuickCheck-Poly.html#C" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:C" class="def">C</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:unC" class="def">unC</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Integer">Integer</a></dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:C" class="caption collapser" onclick="toggleSection('i:C')">Instances</p><div id="section.i:C" 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/Data-Eq.html#t:Eq">Eq</a> <a href="Test-QuickCheck-Poly.html#t:C">C</a></span> <a href="src/Test-QuickCheck-Poly.html#line-60" 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 href="Test-QuickCheck-Poly.html#t:C">C</a></span> <a href="src/Test-QuickCheck-Poly.html#line-62" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Test-QuickCheck-Arbitrary.html#t:CoArbitrary">CoArbitrary</a> <a href="Test-QuickCheck-Poly.html#t:C">C</a></span> <a href="src/Test-QuickCheck-Poly.html#line-69" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Test-QuickCheck-Arbitrary.html#t:Arbitrary">Arbitrary</a> <a href="Test-QuickCheck-Poly.html#t:C">C</a></span> <a href="src/Test-QuickCheck-Poly.html#line-65" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Test-QuickCheck-Function.html#t:Function">Function</a> <a href="Test-QuickCheck-Poly.html#t:C">C</a></span> <a href="src/Test-QuickCheck-Function.html#line-210" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a name="t:OrdA" class="def">OrdA</a> <a href="src/Test-QuickCheck-Poly.html#OrdA" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:OrdA" class="def">OrdA</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:unOrdA" class="def">unOrdA</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Integer">Integer</a></dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:OrdA" class="caption collapser" onclick="toggleSection('i:OrdA')">Instances</p><div id="section.i:OrdA" 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/Data-Eq.html#t:Eq">Eq</a> <a href="Test-QuickCheck-Poly.html#t:OrdA">OrdA</a></span> <a href="src/Test-QuickCheck-Poly.html#line-78" 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/Prelude.html#t:Num">Num</a> <a href="Test-QuickCheck-Poly.html#t:OrdA">OrdA</a></span> <a href="src/Test-QuickCheck-Poly.html#line-80" 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 href="Test-QuickCheck-Poly.html#t:OrdA">OrdA</a></span> <a href="src/Test-QuickCheck-Poly.html#line-78" 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 href="Test-QuickCheck-Poly.html#t:OrdA">OrdA</a></span> <a href="src/Test-QuickCheck-Poly.html#line-84" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Test-QuickCheck-Arbitrary.html#t:CoArbitrary">CoArbitrary</a> <a href="Test-QuickCheck-Poly.html#t:OrdA">OrdA</a></span> <a href="src/Test-QuickCheck-Poly.html#line-91" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Test-QuickCheck-Arbitrary.html#t:Arbitrary">Arbitrary</a> <a href="Test-QuickCheck-Poly.html#t:OrdA">OrdA</a></span> <a href="src/Test-QuickCheck-Poly.html#line-87" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Test-QuickCheck-Function.html#t:Function">Function</a> <a href="Test-QuickCheck-Poly.html#t:OrdA">OrdA</a></span> <a href="src/Test-QuickCheck-Function.html#line-213" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a name="t:OrdB" class="def">OrdB</a> <a href="src/Test-QuickCheck-Poly.html#OrdB" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:OrdB" class="def">OrdB</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:unOrdB" class="def">unOrdB</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Integer">Integer</a></dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:OrdB" class="caption collapser" onclick="toggleSection('i:OrdB')">Instances</p><div id="section.i:OrdB" 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/Data-Eq.html#t:Eq">Eq</a> <a href="Test-QuickCheck-Poly.html#t:OrdB">OrdB</a></span> <a href="src/Test-QuickCheck-Poly.html#line-97" 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/Prelude.html#t:Num">Num</a> <a href="Test-QuickCheck-Poly.html#t:OrdB">OrdB</a></span> <a href="src/Test-QuickCheck-Poly.html#line-99" 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 href="Test-QuickCheck-Poly.html#t:OrdB">OrdB</a></span> <a href="src/Test-QuickCheck-Poly.html#line-97" 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 href="Test-QuickCheck-Poly.html#t:OrdB">OrdB</a></span> <a href="src/Test-QuickCheck-Poly.html#line-103" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Test-QuickCheck-Arbitrary.html#t:CoArbitrary">CoArbitrary</a> <a href="Test-QuickCheck-Poly.html#t:OrdB">OrdB</a></span> <a href="src/Test-QuickCheck-Poly.html#line-110" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Test-QuickCheck-Arbitrary.html#t:Arbitrary">Arbitrary</a> <a href="Test-QuickCheck-Poly.html#t:OrdB">OrdB</a></span> <a href="src/Test-QuickCheck-Poly.html#line-106" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Test-QuickCheck-Function.html#t:Function">Function</a> <a href="Test-QuickCheck-Poly.html#t:OrdB">OrdB</a></span> <a href="src/Test-QuickCheck-Function.html#line-216" class="link">Source</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">newtype</span> <a name="t:OrdC" class="def">OrdC</a> <a href="src/Test-QuickCheck-Poly.html#OrdC" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:OrdC" class="def">OrdC</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:unOrdC" class="def">unOrdC</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.8.2.0/Prelude.html#t:Integer">Integer</a></dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:OrdC" class="caption collapser" onclick="toggleSection('i:OrdC')">Instances</p><div id="section.i:OrdC" 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/Data-Eq.html#t:Eq">Eq</a> <a href="Test-QuickCheck-Poly.html#t:OrdC">OrdC</a></span> <a href="src/Test-QuickCheck-Poly.html#line-116" 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/Prelude.html#t:Num">Num</a> <a href="Test-QuickCheck-Poly.html#t:OrdC">OrdC</a></span> <a href="src/Test-QuickCheck-Poly.html#line-118" 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 href="Test-QuickCheck-Poly.html#t:OrdC">OrdC</a></span> <a href="src/Test-QuickCheck-Poly.html#line-116" 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 href="Test-QuickCheck-Poly.html#t:OrdC">OrdC</a></span> <a href="src/Test-QuickCheck-Poly.html#line-122" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Test-QuickCheck-Arbitrary.html#t:CoArbitrary">CoArbitrary</a> <a href="Test-QuickCheck-Poly.html#t:OrdC">OrdC</a></span> <a href="src/Test-QuickCheck-Poly.html#line-129" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Test-QuickCheck-Arbitrary.html#t:Arbitrary">Arbitrary</a> <a href="Test-QuickCheck-Poly.html#t:OrdC">OrdC</a></span> <a href="src/Test-QuickCheck-Poly.html#line-125" class="link">Source</a></td><td class="doc empty"> </td></tr><tr><td class="src clearfix"><span class="inst-left"><a href="Test-QuickCheck-Function.html#t:Function">Function</a> <a href="Test-QuickCheck-Poly.html#t:OrdC">OrdC</a></span> <a href="src/Test-QuickCheck-Function.html#line-219" 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>
|