diff options
Diffstat (limited to 'html-test')
82 files changed, 3678 insertions, 1531 deletions
diff --git a/html-test/Main.hs b/html-test/Main.hs index 67dbeec6..d65a5087 100755 --- a/html-test/Main.hs +++ b/html-test/Main.hs @@ -47,7 +47,22 @@ stripIfRequired mdl =  preserveLinksModules :: [String]  preserveLinksModules = ["Bug253"] +ingoredTests :: [FilePath] +ingoredTests = +  [ +    -- Currently some declarations are exported twice +    -- we need a reliable way to deduplicate here. +    -- Happens since PR #688. +    "B" + +    -- ignore-exports flag broke with PR #688. We use +    -- the Avails calculated by GHC now. Probably +    -- requires a change to GHC to "ignore" a modules +    -- export list reliably. +  , "IgnoreExports" +  ]  checkIgnore :: FilePath -> Bool +checkIgnore file | takeBaseName file `elem` ingoredTests = True  checkIgnore file@(c:_) | takeExtension file == ".html" && isUpper c = False  checkIgnore _ = True diff --git a/html-test/ref/A.html b/html-test/ref/A.html index 1fbfb371..e4802966 100644 --- a/html-test/ref/A.html +++ b/html-test/ref/A.html @@ -54,13 +54,13 @@  	    ><li class="src short"  	    ><a href="#"  	      >other</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ><li class="src short"  	    ><a href="#"  	      >test2</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Bool"  	      >Bool</a  	      ></li  	    ><li class="src short" @@ -74,7 +74,7 @@  	    ><li class="src short"  	    ><a href="#"  	      >reExport</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ></ul @@ -111,7 +111,7 @@  	><p class="src"  	  ><a id="v:other" class="def"  	    >other</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a @@ -121,7 +121,7 @@  	><p class="src"  	  ><a id="v:test2" class="def"  	    >test2</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Bool"  	    >Bool</a  	    > <a href="#" class="selflink"  	    >#</a @@ -165,7 +165,7 @@  	><p class="src"  	  ><a id="v:reExport" class="def"  	    >reExport</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a diff --git a/html-test/ref/Bug1.html b/html-test/ref/Bug1.html index e6ee486b..d5f9052e 100644 --- a/html-test/ref/Bug1.html +++ b/html-test/ref/Bug1.html @@ -70,7 +70,7 @@  	  ><p  	    >We should have different anchors for constructors and types/classes.  This   hyperlink should point to the type constructor by default: <code -	      ><a href="#" +	      ><a href="#" title="Bug1"  		>T</a  		></code  	      >.</p diff --git a/html-test/ref/Bug2.html b/html-test/ref/Bug2.html index b10195c4..d2d0efd9 100644 --- a/html-test/ref/Bug2.html +++ b/html-test/ref/Bug2.html @@ -45,7 +45,7 @@  	><p class="src"  	  ><a id="v:x" class="def"  	    >x</a -	    > :: <a href="#" +	    > :: <a href="#" title="A"  	    >A</a  	    > <a href="#" class="selflink"  	    >#</a diff --git a/html-test/ref/Bug253.html b/html-test/ref/Bug253.html index 178d70fe..57b1b164 100644 --- a/html-test/ref/Bug253.html +++ b/html-test/ref/Bug253.html @@ -81,7 +81,7 @@  	    >This link should generate <code  	      >#v</code  	      > anchor: <code -	      ><a href="#" +	      ><a href="#" title="DoesNotExist"  		>fakeFakeFake</a  		></code  	      ></p diff --git a/html-test/ref/Bug26.html b/html-test/ref/Bug26.html index 376c2ce6..e50169ba 100644 --- a/html-test/ref/Bug26.html +++ b/html-test/ref/Bug26.html @@ -130,7 +130,7 @@  	  ><p class="caption"  	    >Minimal complete definition</p  	    ><p class="src" -	    ><a href="#" +	    ><a href="#" title="Bug26"  	      >c_f</a  	      ></p  	    ></div @@ -160,7 +160,7 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:C:C:1"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Bug26"  		      >C</a  		      > ()</span  		    > <a href="#" class="selflink" @@ -180,7 +180,11 @@  		  ><details id="i:ic:C:C:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Bug26</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src" diff --git a/html-test/ref/Bug280.html b/html-test/ref/Bug280.html index da1e6b13..d37fc11f 100644 --- a/html-test/ref/Bug280.html +++ b/html-test/ref/Bug280.html @@ -61,7 +61,7 @@  	><p class="src"  	  ><a id="v:x" class="def"  	    >x</a -	    > :: [<a href="#" +	    > :: [<a href="#" title="Data.Char"  	    >Char</a  	    >] <a href="#" class="selflink"  	    >#</a diff --git a/html-test/ref/Bug294.html b/html-test/ref/Bug294.html index 87a03731..0548646b 100644 --- a/html-test/ref/Bug294.html +++ b/html-test/ref/Bug294.html @@ -62,9 +62,9 @@  		      ></span  		      > <span class="keyword"  		      >data</span -		      > <a href="#" +		      > <a href="#" title="Bug294"  		      >DP</a -		      > <a href="#" +		      > <a href="#" title="Bug294"  		      >A</a  		      ></span  		    > <a href="#" class="selflink" @@ -78,16 +78,20 @@  		  ><details id="i:id:A:DP:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>Bug294</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>data</span -			> <a href="#" +			> <a href="#" title="Bug294"  			>DP</a -			> <a href="#" +			> <a href="#" title="Bug294"  			>A</a  			> = <a id="v:ProblemCtor-39-" class="def"  			>ProblemCtor'</a -			> <a href="#" +			> <a href="#" title="Bug294"  			>A</a  			></div  		      ></details @@ -100,7 +104,9 @@  		      ></span  		      > <span class="keyword"  		      >data</span -		      > TP <a href="#" +		      > <a href="#" title="Bug294" +		      >TP</a +		      > <a href="#" title="Bug294"  		      >A</a  		      ></span  		    > <a href="#" class="selflink" @@ -114,14 +120,20 @@  		  ><details id="i:id:A:TP:2"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>Bug294</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>data</span -			> TP <a href="#" +			> <a href="#" title="Bug294" +			>TP</a +			> <a href="#" title="Bug294"  			>A</a  			> = <a id="v:ProblemCtor" class="def"  			>ProblemCtor</a -			> <a href="#" +			> <a href="#" title="Bug294"  			>A</a  			></div  		      ></details @@ -135,9 +147,9 @@  	><p class="src"  	  ><a id="v:problemField" class="def"  	    >problemField</a -	    > :: TO <a href="#" +	    > :: TO <a href="#" title="Bug294"  	    >A</a -	    > -> <a href="#" +	    > -> <a href="#" title="Bug294"  	    >A</a  	    > <a href="#" class="selflink"  	    >#</a @@ -147,9 +159,9 @@  	><p class="src"  	  ><a id="v:problemField-39-" class="def"  	    >problemField'</a -	    > :: DO <a href="#" +	    > :: DO <a href="#" title="Bug294"  	    >A</a -	    > -> <a href="#" +	    > -> <a href="#" title="Bug294"  	    >A</a  	    > <a href="#" class="selflink"  	    >#</a @@ -159,9 +171,9 @@  	><p class="src"  	  ><a id="v:gadtField" class="def"  	    >gadtField</a -	    > :: ({..} -> GADT <a href="#" +	    > :: ({..} -> GADT <a href="#" title="Bug294"  	    >A</a -	    >) -> <a href="#" +	    >) -> <a href="#" title="Bug294"  	    >A</a  	    > <a href="#" class="selflink"  	    >#</a @@ -171,9 +183,71 @@  	><p class="src"  	  ><span class="keyword"  	    >data family</span +	    > <a id="t:TP" class="def" +	    >TP</a +	    > t :: <a href="#" title="Data.Kind" +	    >*</a +	    > <a href="#" class="selflink" +	    >#</a +	    ></p +	  ><div class="subs instances" +	  ><details id="i:TP" open="open" +	    ><summary +	      >Instances</summary +	      ><table +	      ><tr +		><td class="src clearfix" +		  ><span class="inst-left" +		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:if:TP:TP:1" +		      ></span +		      > <span class="keyword" +		      >data</span +		      > <a href="#" title="Bug294" +		      >TP</a +		      > <a href="#" title="Bug294" +		      >A</a +		      ></span +		    > <a href="#" class="selflink" +		    >#</a +		    ></td +		  ><td class="doc empty" +		  ></td +		  ></tr +		><tr +		><td colspan="2" +		  ><details id="i:if:TP:TP:1" +		    ><summary class="hide-when-js-enabled" +		      >Instance details</summary +		      ><p +		      >Defined in <a href="#" +			>Bug294</a +			></p +		      > <div class="src" +		      ><span class="keyword" +			>data</span +			> <a href="#" title="Bug294" +			>TP</a +			> <a href="#" title="Bug294" +			>A</a +			> = <a id="v:ProblemCtor" class="def" +			>ProblemCtor</a +			> <a href="#" title="Bug294" +			>A</a +			></div +		      ></details +		    ></td +		  ></tr +		></table +	      ></details +	    ></div +	  ></div +	><div class="top" +	><p class="src" +	  ><span class="keyword" +	    >data family</span  	    > <a id="t:DP" class="def"  	    >DP</a -	    > t :: <a href="#" +	    > t :: <a href="#" title="Data.Kind"  	    >*</a  	    > <a href="#" class="selflink"  	    >#</a @@ -190,9 +264,9 @@  		      ></span  		      > <span class="keyword"  		      >data</span -		      > <a href="#" +		      > <a href="#" title="Bug294"  		      >DP</a -		      > <a href="#" +		      > <a href="#" title="Bug294"  		      >A</a  		      ></span  		    > <a href="#" class="selflink" @@ -206,16 +280,20 @@  		  ><details id="i:if:DP:DP:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>Bug294</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>data</span -			> <a href="#" +			> <a href="#" title="Bug294"  			>DP</a -			> <a href="#" +			> <a href="#" title="Bug294"  			>A</a  			> = <a id="v:ProblemCtor-39-" class="def"  			>ProblemCtor'</a -			> <a href="#" +			> <a href="#" title="Bug294"  			>A</a  			></div  		      ></details @@ -225,6 +303,62 @@  	      ></details  	    ></div  	  ></div +	><div class="top" +	><p class="src" +	  ><span class="keyword" +	    >data family</span +	    > <a id="t:TO-39-" class="def" +	    >TO'</a +	    > t :: <a href="#" title="Data.Kind" +	    >*</a +	    > <a href="#" class="selflink" +	    >#</a +	    ></p +	  ><div class="subs instances" +	  ><details id="i:TO-39-" open="open" +	    ><summary +	      >Instances</summary +	      ><table +	      ><tr +		><td class="src clearfix" +		  ><span class="inst-left" +		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:if:TO-39-:TO-39-:1" +		      ></span +		      > <span class="keyword" +		      >data</span +		      > <a href="#" title="Bug294" +		      >TO'</a +		      > a</span +		    > <a href="#" class="selflink" +		    >#</a +		    ></td +		  ><td class="doc empty" +		  ></td +		  ></tr +		><tr +		><td colspan="2" +		  ><details id="i:if:TO-39-:TO-39-:1" +		    ><summary class="hide-when-js-enabled" +		      >Instance details</summary +		      ><p +		      >Defined in <a href="#" +			>Bug294</a +			></p +		      > <div class="src" +		      ><span class="keyword" +			>data</span +			> <a href="#" title="Bug294" +			>TO'</a +			> a = <a id="v:PolyCtor" class="def" +			>PolyCtor</a +			></div +		      ></details +		    ></td +		  ></tr +		></table +	      ></details +	    ></div +	  ></div  	></div        ></div      ><div id="footer" diff --git a/html-test/ref/Bug298.html b/html-test/ref/Bug298.html index 532d40c5..94cb1533 100644 --- a/html-test/ref/Bug298.html +++ b/html-test/ref/Bug298.html @@ -111,19 +111,19 @@  	  ><div class="doc"  	  ><p  	    >Links to <code -	      ><a href="#" +	      ><a href="#" title="Bug298"  		><^></a  		></code  	      > and <code -	      ><a href="#" +	      ><a href="#" title="Bug298"  		>^></a  		></code  	      >, <code -	      ><a href="#" +	      ><a href="#" title="Bug298"  		><^</a  		></code  	      > and <code -	      ><a href="#" +	      ><a href="#" title="Bug298"  		>⋆^</a  		></code  	      >.</p diff --git a/html-test/ref/Bug3.html b/html-test/ref/Bug3.html index 80d01cfe..3c4b905c 100644 --- a/html-test/ref/Bug3.html +++ b/html-test/ref/Bug3.html @@ -46,7 +46,7 @@  	  ><li class="src short"  	    ><a href="#"  	      >foo</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ></ul @@ -59,7 +59,7 @@  	><p class="src"  	  ><a id="v:foo" class="def"  	    >foo</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a diff --git a/html-test/ref/Bug310.html b/html-test/ref/Bug310.html index 50ba8cfd..47da5387 100644 --- a/html-test/ref/Bug310.html +++ b/html-test/ref/Bug310.html @@ -46,13 +46,13 @@  	  ><li class="src short"  	    ><span class="keyword"  	      >type family</span -	      > (a :: <a href="#" +	      > (a :: <a href="#" title="GHC.TypeNats"  	      >Nat</a  	      >) <a href="#"  	      >+</a -	      > (b :: <a href="#" +	      > (b :: <a href="#" title="GHC.TypeNats"  	      >Nat</a -	      >) :: <a href="#" +	      >) :: <a href="#" title="GHC.TypeNats"  	      >Nat</a  	      > <span class="keyword"  	      >where ...</span @@ -67,13 +67,13 @@  	><p class="src"  	  ><span class="keyword"  	    >type family</span -	    > (a :: <a href="#" +	    > (a :: <a href="#" title="GHC.TypeNats"  	    >Nat</a  	    >) <a id="t:-43-" class="def"  	    >+</a -	    > (b :: <a href="#" +	    > (b :: <a href="#" title="GHC.TypeNats"  	    >Nat</a -	    >) :: <a href="#" +	    >) :: <a href="#" title="GHC.TypeNats"  	    >Nat</a  	    > <span class="keyword"  	    >where ...</span @@ -87,6 +87,10 @@  	  ><div class="doc"  	  ><p  	    >Addition of type-level naturals.</p +	    ><p +	    ><em +	      >Since: base-4.7.0.0</em +	      ></p  	    ></div  	  ></div  	></div @@ -95,4 +99,4 @@      ></div      ></body    ></html ->
\ No newline at end of file +> diff --git a/html-test/ref/Bug387.html b/html-test/ref/Bug387.html index 23faa420..ba2f5c91 100644 --- a/html-test/ref/Bug387.html +++ b/html-test/ref/Bug387.html @@ -60,42 +60,46 @@  	  ><li class="src short"  	    ><a href="#"  	      >test1</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ><li class="src short"  	    ><a href="#"  	      >test2</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ></ul  	  ></details  	></div        ><div id="interface" -      ><h1 id="g:1" -	>Section1<a id="a:section1" +      ><a href="#" id="g:1" +	><h1 +	  >Section1<a id="a:section1" +	    ></a +	    ></h1  	  ></a -	  ></h1  	><div class="top"  	><p class="src"  	  ><a id="v:test1" class="def"  	    >test1</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a  	    ></p  	  ></div -	><h1 id="g:2" -	>Section2<a id="a:section2" +	><a href="#" id="g:2" +	><h1 +	  >Section2<a id="a:section2" +	    ></a +	    ></h1  	  ></a -	  ></h1  	><div class="top"  	><p class="src"  	  ><a id="v:test2" class="def"  	    >test2</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a diff --git a/html-test/ref/Bug4.html b/html-test/ref/Bug4.html index 40d9ee7b..6afd37fe 100644 --- a/html-test/ref/Bug4.html +++ b/html-test/ref/Bug4.html @@ -46,7 +46,7 @@  	  ><li class="src short"  	    ><a href="#"  	      >foo</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ></ul @@ -59,7 +59,7 @@  	><p class="src"  	  ><a id="v:foo" class="def"  	    >foo</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a diff --git a/html-test/ref/Bug458.html b/html-test/ref/Bug458.html new file mode 100644 index 00000000..f716d7d6 --- /dev/null +++ b/html-test/ref/Bug458.html @@ -0,0 +1,80 @@ +<html xmlns="http://www.w3.org/1999/xhtml" +><head +  ><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" +     /><title +    >Bug458</title +    ><link href="#" rel="stylesheet" type="text/css" title="Ocean" +     /><link rel="stylesheet" type="text/css" href="#" +     /><script src="haddock-bundle.min.js" async="async" type="text/javascript" +    ></script +    ><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript" +    ></script +    ></head +  ><body +  ><div id="package-header" +    ><ul class="links" id="page-menu" +      ><li +	><a href="#" +	  >Contents</a +	  ></li +	><li +	><a href="#" +	  >Index</a +	  ></li +	></ul +      ><p class="caption empty" +      ></p +      ></div +    ><div id="content" +    ><div id="module-header" +      ><table class="info" +	><tr +	  ><th +	    >Safe Haskell</th +	    ><td +	    >Safe</td +	    ></tr +	  ></table +	><p class="caption" +	>Bug458</p +	></div +      ><div id="synopsis" +      ><details id="syn" +	><summary +	  >Synopsis</summary +	  ><ul class="details-toggle" data-details-id="syn" +	  ><li class="src short" +	    ><a href="#" +	      >(⊆)</a +	      > :: () -> () -> ()</li +	    ></ul +	  ></details +	></div +      ><div id="interface" +      ><h1 +	>Documentation</h1 +	><div class="top" +	><p class="src" +	  ><a id="v:-8838-" class="def" +	    >(⊆)</a +	    > :: () -> () -> () <a href="#" class="selflink" +	    >#</a +	    ></p +	  ><div class="doc" +	  ><p +	    >See the defn of <code +	      ><code +		><a href="#" title="Bug458" +		  >⊆</a +		  ></code +		></code +	      >.</p +	    ></div +	  ></div +	></div +      ></div +    ><div id="footer" +    ></div +    ></body +  ></html +>
\ No newline at end of file diff --git a/html-test/ref/Bug546.html b/html-test/ref/Bug546.html new file mode 100644 index 00000000..221f7b6c --- /dev/null +++ b/html-test/ref/Bug546.html @@ -0,0 +1,273 @@ +<html xmlns="http://www.w3.org/1999/xhtml" +><head +  ><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" +     /><title +    >Bug546</title +    ><link href="#" rel="stylesheet" type="text/css" title="Ocean" +     /><link rel="stylesheet" type="text/css" href="#" +     /><script src="haddock-bundle.min.js" async="async" type="text/javascript" +    ></script +    ><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript" +    ></script +    ></head +  ><body +  ><div id="package-header" +    ><ul class="links" id="page-menu" +      ><li +	><a href="#" +	  >Contents</a +	  ></li +	><li +	><a href="#" +	  >Index</a +	  ></li +	></ul +      ><p class="caption empty" +      ></p +      ></div +    ><div id="content" +    ><div id="module-header" +      ><table class="info" +	><tr +	  ><th +	    >Safe Haskell</th +	    ><td +	    >Safe</td +	    ></tr +	  ></table +	><p class="caption" +	>Bug546</p +	></div +      ><div id="synopsis" +      ><details id="syn" +	><summary +	  >Synopsis</summary +	  ><ul class="details-toggle" data-details-id="syn" +	  ><li class="src short" +	    ><a href="#" +	      >x</a +	      > :: <a href="#" title="Prelude" +	      >Integer</a +	      ></li +	    ><li class="src short" +	    ><a href="#" +	      >compile</a +	      > :: <a href="#" title="Data.String" +	      >String</a +	      > -> <a href="#" title="Data.String" +	      >String</a +	      ></li +	    ></ul +	  ></details +	></div +      ><div id="interface" +      ><h1 +	>Documentation</h1 +	><div class="top" +	><p class="src" +	  ><a id="v:x" class="def" +	    >x</a +	    > :: <a href="#" title="Prelude" +	    >Integer</a +	    > <a href="#" class="selflink" +	    >#</a +	    ></p +	  ><div class="doc" +	  ><p +	    >Test:</p +	    ><dl +	    ><dt +	      ><code +		>[code with square \ brackets]</code +		></dt +	      ><dd +	      >lorem ipsum</dd +	      ></dl +	    ></div +	  ></div +	><div class="top" +	><p class="src" +	  ><a id="v:compile" class="def" +	    >compile</a +	    > :: <a href="#" title="Data.String" +	    >String</a +	    > -> <a href="#" title="Data.String" +	    >String</a +	    > <a href="#" class="selflink" +	    >#</a +	    ></p +	  ><div class="doc" +	  ><dl +	    ><dt +	      ><code +		>[..]</code +		></dt +	      ><dd +	      >Matches any of the enclosed characters. Ranges of characters can +            be specified by separating the endpoints with a <code +		>'-'</code +		>. <code +		>'-'</code +		> or +            <code +		>']'</code +		> can be matched by including them as the first character(s) +            in the list. Never matches path separators: <code +		>[/]</code +		> matches +            nothing at all. Named character classes can also be matched: +            <code +		>[:x:]</code +		> within <code +		>[]</code +		> specifies the class named <code +		>x</code +		>, which matches +            certain predefined characters. See below for a full list.</dd +	      ><dt +	      ><code +		>[^..]</code +		> or <code +		>[!..]</code +		></dt +	      ><dd +	      >Like <code +		>[..]</code +		>, but matches any character <em +		>not</em +		> listed. +                        Note that <code +		>[^-x]</code +		> is not the inverse of <code +		>[-x]</code +		>, but +                        the range <code +		>[^-x]</code +		>.</dd +	      ><dt +	      ><code +		><m-n></code +		></dt +	      ><dd +	      >Matches any integer in the range m to n, inclusive. The range may +            be open-ended by leaving out either number: <code +		>"<->"</code +		>, for +            instance, matches any integer.</dd +	      ><dt +	      ><code +		>**/</code +		></dt +	      ><dd +	      >Matches any number of characters, including path separators, +            excluding the empty string.</dd +	      ></dl +	    ><p +	    >Supported character classes:</p +	    ><dl +	    ><dt +	      ><code +		>[:alnum:]</code +		></dt +	      ><dd +	      >Equivalent to <code +		>"0-9A-Za-z"</code +		>.</dd +	      ><dt +	      ><code +		>[:alpha:]</code +		></dt +	      ><dd +	      >Equivalent to <code +		>"A-Za-z"</code +		>.</dd +	      ><dt +	      ><code +		>[:blank:]</code +		></dt +	      ><dd +	      >Equivalent to <code +		>"\t "</code +		>.</dd +	      ><dt +	      ><code +		>[:cntrl:]</code +		></dt +	      ><dd +	      >Equivalent to <code +		>"\0-\x1f\x7f"</code +		>.</dd +	      ><dt +	      ><code +		>[:digit:]</code +		></dt +	      ><dd +	      >Equivalent to <code +		>"0-9"</code +		>.</dd +	      ><dt +	      ><code +		>[:graph:]</code +		></dt +	      ><dd +	      >Equivalent to <code +		>"!-~"</code +		>.</dd +	      ><dt +	      ><code +		>[:lower:]</code +		></dt +	      ><dd +	      >Equivalent to <code +		>"a-z"</code +		>.</dd +	      ><dt +	      ><code +		>[:print:]</code +		></dt +	      ><dd +	      >Equivalent to <code +		>" -~"</code +		>.</dd +	      ><dt +	      ><code +		>[:punct:]</code +		></dt +	      ><dd +	      >Equivalent to <code +		>"!-/:-@[-`{-~"</code +		>.</dd +	      ><dt +	      ><code +		>[:space:]</code +		></dt +	      ><dd +	      >Equivalent to <code +		>"\t-\r "</code +		>.</dd +	      ><dt +	      ><code +		>[:upper:]</code +		></dt +	      ><dd +	      >Equivalent to <code +		>"A-Z"</code +		>.</dd +	      ><dt +	      ><code +		>[:xdigit:]</code +		></dt +	      ><dd +	      >Equivalent to <code +		>"0-9A-Fa-f"</code +		>.</dd +	      ></dl +	    ></div +	  ></div +	></div +      ></div +    ><div id="footer" +    ></div +    ></body +  ></html +>
\ No newline at end of file diff --git a/html-test/ref/Bug548.html b/html-test/ref/Bug548.html new file mode 100644 index 00000000..b32f8c8c --- /dev/null +++ b/html-test/ref/Bug548.html @@ -0,0 +1,614 @@ +<html xmlns="http://www.w3.org/1999/xhtml" +><head +  ><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" +     /><title +    >Bug548</title +    ><link href="#" rel="stylesheet" type="text/css" title="Ocean" +     /><link rel="stylesheet" type="text/css" href="#" +     /><script src="haddock-bundle.min.js" async="async" type="text/javascript" +    ></script +    ><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript" +    ></script +    ></head +  ><body +  ><div id="package-header" +    ><ul class="links" id="page-menu" +      ><li +	><a href="#" +	  >Contents</a +	  ></li +	><li +	><a href="#" +	  >Index</a +	  ></li +	></ul +      ><p class="caption empty" +      ></p +      ></div +    ><div id="content" +    ><div id="module-header" +      ><table class="info" +	><tr +	  ><th +	    >Safe Haskell</th +	    ><td +	    >Safe</td +	    ></tr +	  ></table +	><p class="caption" +	>Bug548</p +	></div +      ><div id="interface" +      ><h1 +	>Documentation</h1 +	><div class="top" +	><p class="src" +	  ><span class="keyword" +	    >newtype</span +	    > <a id="t:WrappedArrow" class="def" +	    >WrappedArrow</a +	    > (a :: <a href="#" title="Data.Kind" +	    >*</a +	    > -> <a href="#" title="Data.Kind" +	    >*</a +	    > -> <a href="#" title="Data.Kind" +	    >*</a +	    >) b c <a href="#" class="selflink" +	    >#</a +	    ></p +	  ><div class="subs constructors" +	  ><p class="caption" +	    >Constructors</p +	    ><table +	    ><tr +	      ><td class="src" +		><a id="v:WrapArrow" class="def" +		  >WrapArrow</a +		  ></td +		><td class="doc empty" +		></td +		></tr +	      ><tr +	      ><td colspan="2" +		><div class="subs fields" +		  ><p class="caption" +		    >Fields</p +		    ><ul +		    ><li +		      ><dfn class="src" +			><a id="v:unwrapArrow" class="def" +			  >unwrapArrow</a +			  > :: a b c</dfn +			><div class="doc empty" +			></div +			></li +		      ></ul +		    ></div +		  ></td +		></tr +	      ></table +	    ></div +	  ><div class="subs instances" +	  ><details id="i:WrappedArrow" open="open" +	    ><summary +	      >Instances</summary +	      ><table +	      ><tr +		><td class="src clearfix" +		  ><span class="inst-left" +		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:id:WrappedArrow:Generic1:1" +		      ></span +		      > <a href="#" title="GHC.Generics" +		      >Generic1</a +		      > (<a href="#" title="Bug548" +		      >WrappedArrow</a +		      > a b :: <a href="#" title="Data.Kind" +		      >*</a +		      > -> <a href="#" title="Data.Kind" +		      >*</a +		      >)</span +		    ></td +		  ><td class="doc empty" +		  ></td +		  ></tr +		><tr +		><td colspan="2" +		  ><details id="i:id:WrappedArrow:Generic1:1" +		    ><summary class="hide-when-js-enabled" +		      >Instance details</summary +		      ><p +		      >Defined in <a href="#" +			>Control.Applicative</a +			></p +		      > <div class="subs associated-types" +		      ><p class="caption" +			>Associated Types</p +			><p class="src" +			><span class="keyword" +			  >type</span +			  > <a href="#" title="GHC.Generics" +			  >Rep1</a +			  > (<a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b) :: k -> <a href="#" title="Data.Kind" +			  >*</a +			  > <a href="#" class="selflink" +			  >#</a +			  ></p +			></div +		      > <div class="subs methods" +		      ><p class="caption" +			>Methods</p +			><p class="src" +			><a href="#" +			  >from1</a +			  > :: <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b a0 -> <a href="#" title="GHC.Generics" +			  >Rep1</a +			  > (<a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b) a0 <a href="#" class="selflink" +			  >#</a +			  ></p +			><p class="src" +			><a href="#" +			  >to1</a +			  > :: <a href="#" title="GHC.Generics" +			  >Rep1</a +			  > (<a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b) a0 -> <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b a0 <a href="#" class="selflink" +			  >#</a +			  ></p +			></div +		      ></details +		    ></td +		  ></tr +		><tr +		><td class="src clearfix" +		  ><span class="inst-left" +		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:id:WrappedArrow:Functor:2" +		      ></span +		      > <a href="#" title="Control.Arrow" +		      >Arrow</a +		      > a => <a href="#" title="Data.Functor" +		      >Functor</a +		      > (<a href="#" title="Bug548" +		      >WrappedArrow</a +		      > a b)</span +		    ></td +		  ><td class="doc" +		  ><p +		    ><em +		      >Since: base-2.1</em +		      ></p +		    ></td +		  ></tr +		><tr +		><td colspan="2" +		  ><details id="i:id:WrappedArrow:Functor:2" +		    ><summary class="hide-when-js-enabled" +		      >Instance details</summary +		      ><p +		      >Defined in <a href="#" +			>Control.Applicative</a +			></p +		      > <div class="subs methods" +		      ><p class="caption" +			>Methods</p +			><p class="src" +			><a href="#" +			  >fmap</a +			  > :: (a0 -> b0) -> <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b a0 -> <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b b0 <a href="#" class="selflink" +			  >#</a +			  ></p +			><p class="src" +			><a href="#" +			  >(<$)</a +			  > :: a0 -> <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b b0 -> <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b a0 <a href="#" class="selflink" +			  >#</a +			  ></p +			></div +		      ></details +		    ></td +		  ></tr +		><tr +		><td class="src clearfix" +		  ><span class="inst-left" +		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:id:WrappedArrow:Applicative:3" +		      ></span +		      > <a href="#" title="Control.Arrow" +		      >Arrow</a +		      > a => <a href="#" title="Control.Applicative" +		      >Applicative</a +		      > (<a href="#" title="Bug548" +		      >WrappedArrow</a +		      > a b)</span +		    ></td +		  ><td class="doc" +		  ><p +		    ><em +		      >Since: base-2.1</em +		      ></p +		    ></td +		  ></tr +		><tr +		><td colspan="2" +		  ><details id="i:id:WrappedArrow:Applicative:3" +		    ><summary class="hide-when-js-enabled" +		      >Instance details</summary +		      ><p +		      >Defined in <a href="#" +			>Control.Applicative</a +			></p +		      > <div class="subs methods" +		      ><p class="caption" +			>Methods</p +			><p class="src" +			><a href="#" +			  >pure</a +			  > :: a0 -> <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b a0 <a href="#" class="selflink" +			  >#</a +			  ></p +			><p class="src" +			><a href="#" +			  >(<*>)</a +			  > :: <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b (a0 -> b0) -> <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b a0 -> <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b b0 <a href="#" class="selflink" +			  >#</a +			  ></p +			><p class="src" +			><a href="#" +			  >liftA2</a +			  > :: (a0 -> b0 -> c) -> <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b a0 -> <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b b0 -> <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b c <a href="#" class="selflink" +			  >#</a +			  ></p +			><p class="src" +			><a href="#" +			  >(*>)</a +			  > :: <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b a0 -> <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b b0 -> <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b b0 <a href="#" class="selflink" +			  >#</a +			  ></p +			><p class="src" +			><a href="#" +			  >(<*)</a +			  > :: <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b a0 -> <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b b0 -> <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b a0 <a href="#" class="selflink" +			  >#</a +			  ></p +			></div +		      ></details +		    ></td +		  ></tr +		><tr +		><td class="src clearfix" +		  ><span class="inst-left" +		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:id:WrappedArrow:Alternative:4" +		      ></span +		      > (<a href="#" title="Control.Arrow" +		      >ArrowZero</a +		      > a, <a href="#" title="Control.Arrow" +		      >ArrowPlus</a +		      > a) => <a href="#" title="Control.Applicative" +		      >Alternative</a +		      > (<a href="#" title="Bug548" +		      >WrappedArrow</a +		      > a b)</span +		    ></td +		  ><td class="doc" +		  ><p +		    ><em +		      >Since: base-2.1</em +		      ></p +		    ></td +		  ></tr +		><tr +		><td colspan="2" +		  ><details id="i:id:WrappedArrow:Alternative:4" +		    ><summary class="hide-when-js-enabled" +		      >Instance details</summary +		      ><p +		      >Defined in <a href="#" +			>Control.Applicative</a +			></p +		      > <div class="subs methods" +		      ><p class="caption" +			>Methods</p +			><p class="src" +			><a href="#" +			  >empty</a +			  > :: <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b a0 <a href="#" class="selflink" +			  >#</a +			  ></p +			><p class="src" +			><a href="#" +			  >(<|>)</a +			  > :: <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b a0 -> <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b a0 -> <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b a0 <a href="#" class="selflink" +			  >#</a +			  ></p +			><p class="src" +			><a href="#" +			  >some</a +			  > :: <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b a0 -> <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b [a0] <a href="#" class="selflink" +			  >#</a +			  ></p +			><p class="src" +			><a href="#" +			  >many</a +			  > :: <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b a0 -> <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b [a0] <a href="#" class="selflink" +			  >#</a +			  ></p +			></div +		      ></details +		    ></td +		  ></tr +		><tr +		><td class="src clearfix" +		  ><span class="inst-left" +		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:id:WrappedArrow:Generic:5" +		      ></span +		      > <a href="#" title="GHC.Generics" +		      >Generic</a +		      > (<a href="#" title="Bug548" +		      >WrappedArrow</a +		      > a b c)</span +		    ></td +		  ><td class="doc empty" +		  ></td +		  ></tr +		><tr +		><td colspan="2" +		  ><details id="i:id:WrappedArrow:Generic:5" +		    ><summary class="hide-when-js-enabled" +		      >Instance details</summary +		      ><p +		      >Defined in <a href="#" +			>Control.Applicative</a +			></p +		      > <div class="subs associated-types" +		      ><p class="caption" +			>Associated Types</p +			><p class="src" +			><span class="keyword" +			  >type</span +			  > <a href="#" title="GHC.Generics" +			  >Rep</a +			  > (<a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b c) :: <a href="#" title="Data.Kind" +			  >*</a +			  > -> <a href="#" title="Data.Kind" +			  >*</a +			  > <a href="#" class="selflink" +			  >#</a +			  ></p +			></div +		      > <div class="subs methods" +		      ><p class="caption" +			>Methods</p +			><p class="src" +			><a href="#" +			  >from</a +			  > :: <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b c -> <a href="#" title="GHC.Generics" +			  >Rep</a +			  > (<a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b c) x <a href="#" class="selflink" +			  >#</a +			  ></p +			><p class="src" +			><a href="#" +			  >to</a +			  > :: <a href="#" title="GHC.Generics" +			  >Rep</a +			  > (<a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b c) x -> <a href="#" title="Bug548" +			  >WrappedArrow</a +			  > a b c <a href="#" class="selflink" +			  >#</a +			  ></p +			></div +		      ></details +		    ></td +		  ></tr +		><tr +		><td class="src clearfix" +		  ><span class="inst-left" +		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:id:WrappedArrow:Rep1:6" +		      ></span +		      > <span class="keyword" +		      >type</span +		      > <a href="#" title="GHC.Generics" +		      >Rep1</a +		      > (<a href="#" title="Bug548" +		      >WrappedArrow</a +		      > a b :: <a href="#" title="Data.Kind" +		      >*</a +		      > -> <a href="#" title="Data.Kind" +		      >*</a +		      >)</span +		    ></td +		  ><td class="doc empty" +		  ></td +		  ></tr +		><tr +		><td colspan="2" +		  ><details id="i:id:WrappedArrow:Rep1:6" +		    ><summary class="hide-when-js-enabled" +		      >Instance details</summary +		      ><p +		      >Defined in <a href="#" +			>Control.Applicative</a +			></p +		      > <div class="src" +		      ><span class="keyword" +			>type</span +			> <a href="#" title="GHC.Generics" +			>Rep1</a +			> (<a href="#" title="Bug548" +			>WrappedArrow</a +			> a b :: <a href="#" title="Data.Kind" +			>*</a +			> -> <a href="#" title="Data.Kind" +			>*</a +			>) = <a href="#" title="GHC.Generics" +			>D1</a +			> (<a href="#" title="GHC.Generics" +			>MetaData</a +			> "WrappedArrow" "Control.Applicative" "base" <a href="#" title="Data.Bool" +			>True</a +			>) (<a href="#" title="GHC.Generics" +			>C1</a +			> (<a href="#" title="GHC.Generics" +			>MetaCons</a +			> "WrapArrow" <a href="#" title="GHC.Generics" +			>PrefixI</a +			> <a href="#" title="Data.Bool" +			>True</a +			>) (<a href="#" title="GHC.Generics" +			>S1</a +			> (<a href="#" title="GHC.Generics" +			>MetaSel</a +			> (<a href="#" title="Data.Maybe" +			>Just</a +			> "unwrapArrow") <a href="#" title="GHC.Generics" +			>NoSourceUnpackedness</a +			> <a href="#" title="GHC.Generics" +			>NoSourceStrictness</a +			> <a href="#" title="GHC.Generics" +			>DecidedLazy</a +			>) (<a href="#" title="GHC.Generics" +			>Rec1</a +			> (a b))))</div +		      ></details +		    ></td +		  ></tr +		><tr +		><td class="src clearfix" +		  ><span class="inst-left" +		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:id:WrappedArrow:Rep:7" +		      ></span +		      > <span class="keyword" +		      >type</span +		      > <a href="#" title="GHC.Generics" +		      >Rep</a +		      > (<a href="#" title="Bug548" +		      >WrappedArrow</a +		      > a b c)</span +		    ></td +		  ><td class="doc empty" +		  ></td +		  ></tr +		><tr +		><td colspan="2" +		  ><details id="i:id:WrappedArrow:Rep:7" +		    ><summary class="hide-when-js-enabled" +		      >Instance details</summary +		      ><p +		      >Defined in <a href="#" +			>Control.Applicative</a +			></p +		      > <div class="src" +		      ><span class="keyword" +			>type</span +			> <a href="#" title="GHC.Generics" +			>Rep</a +			> (<a href="#" title="Bug548" +			>WrappedArrow</a +			> a b c) = <a href="#" title="GHC.Generics" +			>D1</a +			> (<a href="#" title="GHC.Generics" +			>MetaData</a +			> "WrappedArrow" "Control.Applicative" "base" <a href="#" title="Data.Bool" +			>True</a +			>) (<a href="#" title="GHC.Generics" +			>C1</a +			> (<a href="#" title="GHC.Generics" +			>MetaCons</a +			> "WrapArrow" <a href="#" title="GHC.Generics" +			>PrefixI</a +			> <a href="#" title="Data.Bool" +			>True</a +			>) (<a href="#" title="GHC.Generics" +			>S1</a +			> (<a href="#" title="GHC.Generics" +			>MetaSel</a +			> (<a href="#" title="Data.Maybe" +			>Just</a +			> "unwrapArrow") <a href="#" title="GHC.Generics" +			>NoSourceUnpackedness</a +			> <a href="#" title="GHC.Generics" +			>NoSourceStrictness</a +			> <a href="#" title="GHC.Generics" +			>DecidedLazy</a +			>) (<a href="#" title="GHC.Generics" +			>Rec0</a +			> (a b c))))</div +		      ></details +		    ></td +		  ></tr +		></table +	      ></details +	    ></div +	  ></div +	></div +      ></div +    ><div id="footer" +    ></div +    ></body +  ></html +> diff --git a/html-test/ref/Bug6.html b/html-test/ref/Bug6.html index 9dc093cd..15842547 100644 --- a/html-test/ref/Bug6.html +++ b/html-test/ref/Bug6.html @@ -58,7 +58,7 @@  	      >A</a  	      > = <a href="#"  	      >A</a -	      > <a href="#" +	      > <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ><li class="src short" @@ -68,15 +68,17 @@  	      >B</a  	      > = <a href="#"  	      >B</a -	      > {<ul class="subs" -	      ><li -		><a href="#" -		  >b</a -		  > :: <a href="#" -		  >Int</a -		  ></li -		></ul -	      >}</li +	      > <a href="#" title="Data.Int" +	      >Int</a +	      ></li +	    ><li class="src short" +	    ><a href="#" +	      >b</a +	      > :: <a href="#" title="Bug6" +	      >B</a +	      > -> <a href="#" title="Data.Int" +	      >Int</a +	      ></li  	    ><li class="src short"  	    ><span class="keyword"  	      >data</span @@ -88,13 +90,13 @@  	      ><li  		><a href="#"  		  >c1</a -		  > :: <a href="#" +		  > :: <a href="#" title="Data.Int"  		  >Int</a  		  ></li  		><li  		><a href="#"  		  >c2</a -		  > :: <a href="#" +		  > :: <a href="#" title="Data.Int"  		  >Int</a  		  ></li  		></ul @@ -106,9 +108,9 @@  	      >D</a  	      > = <a href="#"  	      >D</a -	      > <a href="#" +	      > <a href="#" title="Data.Int"  	      >Int</a -	      > <a href="#" +	      > <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ><li class="src short" @@ -118,7 +120,7 @@  	      >E</a  	      > = <a href="#"  	      >E</a -	      > <a href="#" +	      > <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ></ul @@ -148,7 +150,7 @@  	      ><td class="src"  		><a id="v:A" class="def"  		  >A</a -		  > <a href="#" +		  > <a href="#" title="Data.Int"  		  >Int</a  		  ></td  		><td class="doc empty" @@ -179,35 +181,29 @@  	      ><td class="src"  		><a id="v:B" class="def"  		  >B</a +		  > <a href="#" title="Data.Int" +		  >Int</a  		  ></td  		><td class="doc empty"  		></td  		></tr -	      ><tr -	      ><td colspan="2" -		><div class="subs fields" -		  ><p class="caption" -		    >Fields</p -		    ><ul -		    ><li -		      ><dfn class="src" -			><a id="v:b" class="def" -			  >b</a -			  > :: <a href="#" -			  >Int</a -			  ></dfn -			><div class="doc empty" -			></div -			></li -		      ></ul -		    ></div -		  ></td -		></tr  	      ></table  	    ></div  	  ></div  	><div class="top"  	><p class="src" +	  ><a id="v:b" class="def" +	    >b</a +	    > :: <a href="#" title="Bug6" +	    >B</a +	    > -> <a href="#" title="Data.Int" +	    >Int</a +	    > <a href="#" class="selflink" +	    >#</a +	    ></p +	  ></div +	><div class="top" +	><p class="src"  	  ><span class="keyword"  	    >data</span  	    > <a id="t:C" class="def" @@ -241,7 +237,7 @@  		      ><dfn class="src"  			><a id="v:c1" class="def"  			  >c1</a -			  > :: <a href="#" +			  > :: <a href="#" title="Data.Int"  			  >Int</a  			  ></dfn  			><div class="doc empty" @@ -251,7 +247,7 @@  		      ><dfn class="src"  			><a id="v:c2" class="def"  			  >c2</a -			  > :: <a href="#" +			  > :: <a href="#" title="Data.Int"  			  >Int</a  			  ></dfn  			><div class="doc empty" @@ -286,9 +282,9 @@  	      ><td class="src"  		><a id="v:D" class="def"  		  >D</a -		  > <a href="#" +		  > <a href="#" title="Data.Int"  		  >Int</a -		  > <a href="#" +		  > <a href="#" title="Data.Int"  		  >Int</a  		  ></td  		><td class="doc empty" @@ -318,7 +314,7 @@  	      ><td class="src"  		><a id="v:E" class="def"  		  >E</a -		  > <a href="#" +		  > <a href="#" title="Data.Int"  		  >Int</a  		  ></td  		><td class="doc empty" diff --git a/html-test/ref/Bug613.html b/html-test/ref/Bug613.html index 765f18e1..12717922 100644 --- a/html-test/ref/Bug613.html +++ b/html-test/ref/Bug613.html @@ -82,7 +82,7 @@  	  ><p class="caption"  	    >Minimal complete definition</p  	    ><p class="src" -	    ><a href="#" +	    ><a href="#" title="Bug613"  	      >fmap</a  	      ></p  	    ></div @@ -106,9 +106,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Functor:Functor:1"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Bug613"  		      >Functor</a -		      > (<a href="#" +		      > (<a href="#" title="Data.Either"  		      >Either</a  		      > a)</span  		    > <a href="#" class="selflink" @@ -122,15 +122,19 @@  		  ><details id="i:ic:Functor:Functor:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Bug613</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >fmap</a -			  > :: (a0 -> b) -> <a href="#" +			  > :: (a0 -> b) -> <a href="#" title="Data.Either"  			  >Either</a -			  > a a0 -> <a href="#" +			  > a a0 -> <a href="#" title="Data.Either"  			  >Either</a  			  > a b <a href="#" class="selflink"  			  >#</a @@ -144,9 +148,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Functor:Functor:2"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Bug613"  		      >Functor</a -		      > (<a href="#" +		      > (<a href="#" title="Bug613"  		      >ThreeVars</a  		      > a0 a)</span  		    > <a href="#" class="selflink" @@ -160,15 +164,19 @@  		  ><details id="i:ic:Functor:Functor:2"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Bug613</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >fmap</a -			  > :: (a1 -> b) -> <a href="#" +			  > :: (a1 -> b) -> <a href="#" title="Bug613"  			  >ThreeVars</a -			  > a0 a a1 -> <a href="#" +			  > a0 a a1 -> <a href="#" title="Bug613"  			  >ThreeVars</a  			  > a0 a b <a href="#" class="selflink"  			  >#</a @@ -218,9 +226,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:id:ThreeVars:Functor:1"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Bug613"  		      >Functor</a -		      > (<a href="#" +		      > (<a href="#" title="Bug613"  		      >ThreeVars</a  		      > a0 a)</span  		    > <a href="#" class="selflink" @@ -234,15 +242,19 @@  		  ><details id="i:id:ThreeVars:Functor:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Bug613</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >fmap</a -			  > :: (a1 -> b) -> <a href="#" +			  > :: (a1 -> b) -> <a href="#" title="Bug613"  			  >ThreeVars</a -			  > a0 a a1 -> <a href="#" +			  > a0 a a1 -> <a href="#" title="Bug613"  			  >ThreeVars</a  			  > a0 a b <a href="#" class="selflink"  			  >#</a diff --git a/html-test/ref/Bug647.html b/html-test/ref/Bug647.html index c35127f4..3375546d 100644 --- a/html-test/ref/Bug647.html +++ b/html-test/ref/Bug647.html @@ -56,7 +56,7 @@  	  ><p class="caption"  	    >Minimal complete definition</p  	    ><p class="src" -	    ><a href="#" +	    ><a href="#" title="Bug647"  	      >f</a  	      ></p  	    ></div diff --git a/html-test/ref/Bug679.html b/html-test/ref/Bug679.html new file mode 100644 index 00000000..093c9046 --- /dev/null +++ b/html-test/ref/Bug679.html @@ -0,0 +1,204 @@ +<html xmlns="http://www.w3.org/1999/xhtml" +><head +  ><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" +     /><title +    >Bug679</title +    ><link href="#" rel="stylesheet" type="text/css" title="Ocean" +     /><link rel="stylesheet" type="text/css" href="#" +     /><script src="haddock-bundle.min.js" async="async" type="text/javascript" +    ></script +    ><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript" +    ></script +    ></head +  ><body +  ><div id="package-header" +    ><ul class="links" id="page-menu" +      ><li +	><a href="#" +	  >Contents</a +	  ></li +	><li +	><a href="#" +	  >Index</a +	  ></li +	></ul +      ><p class="caption empty" +      ></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" +	>Bug679</p +	></div +      ><div id="interface" +      ><h1 +	>Documentation</h1 +	><div class="top" +	><p class="src" +	  ><span class="keyword" +	    >data</span +	    > <a id="t:Bar" class="def" +	    >Bar</a +	    > a <a href="#" class="selflink" +	    >#</a +	    ></p +	  ><div class="subs constructors" +	  ><p class="caption" +	    >Constructors</p +	    ><table +	    ><tr +	      ><td class="src" +		><a id="v:Bar" class="def" +		  >Bar</a +		  ></td +		><td class="doc empty" +		></td +		></tr +	      ></table +	    ></div +	  ><div class="subs instances" +	  ><details id="i:Bar" open="open" +	    ><summary +	      >Instances</summary +	      ><table +	      ><tr +		><td class="src clearfix" +		  ><span class="inst-left" +		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:id:Bar:Foo:1" +		      ></span +		      > <a href="#" title="Bug679" +		      >Foo</a +		      > (<a href="#" title="Bug679" +		      >Bar</a +		      > a)</span +		    > <a href="#" class="selflink" +		    >#</a +		    ></td +		  ><td class="doc empty" +		  ></td +		  ></tr +		><tr +		><td colspan="2" +		  ><details id="i:id:Bar:Foo:1" +		    ><summary class="hide-when-js-enabled" +		      >Instance details</summary +		      ><p +		      >Defined in <a href="#" +			>Bug679</a +			></p +		      > <div class="subs methods" +		      ><p class="caption" +			>Methods</p +			><p class="src" +			><a href="#" +			  >foo</a +			  > :: <a href="#" title="Bug679" +			  >Bar</a +			  > a -> <a href="#" title="Bug679" +			  >Bar</a +			  > a <a href="#" class="selflink" +			  >#</a +			  ></p +			></div +		      ></details +		    ></td +		  ></tr +		></table +	      ></details +	    ></div +	  ></div +	><div class="top" +	><p class="src" +	  ><span class="keyword" +	    >class</span +	    > <a id="t:Foo" class="def" +	    >Foo</a +	    > a <span class="keyword" +	    >where</span +	    > <a href="#" class="selflink" +	    >#</a +	    ></p +	  ><div class="subs minimal" +	  ><p class="caption" +	    >Minimal complete definition</p +	    ><p class="src" +	    ><a href="#" title="Bug679" +	      >foo</a +	      ></p +	    ></div +	  ><div class="subs methods" +	  ><p class="caption" +	    >Methods</p +	    ><p class="src" +	    ><a id="v:foo" class="def" +	      >foo</a +	      > :: a -> a <a href="#" class="selflink" +	      >#</a +	      ></p +	    ></div +	  ><div class="subs instances" +	  ><details id="i:Foo" open="open" +	    ><summary +	      >Instances</summary +	      ><table +	      ><tr +		><td class="src clearfix" +		  ><span class="inst-left" +		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Foo:Foo:1" +		      ></span +		      > <a href="#" title="Bug679" +		      >Foo</a +		      > (<a href="#" title="Bug679" +		      >Bar</a +		      > a)</span +		    > <a href="#" class="selflink" +		    >#</a +		    ></td +		  ><td class="doc empty" +		  ></td +		  ></tr +		><tr +		><td colspan="2" +		  ><details id="i:ic:Foo:Foo:1" +		    ><summary class="hide-when-js-enabled" +		      >Instance details</summary +		      ><p +		      >Defined in <a href="#" +			>Bug679</a +			></p +		      > <div class="subs methods" +		      ><p class="caption" +			>Methods</p +			><p class="src" +			><a href="#" +			  >foo</a +			  > :: <a href="#" title="Bug679" +			  >Bar</a +			  > a -> <a href="#" title="Bug679" +			  >Bar</a +			  > a <a href="#" class="selflink" +			  >#</a +			  ></p +			></div +		      ></details +		    ></td +		  ></tr +		></table +	      ></details +	    ></div +	  ></div +	></div +      ></div +    ><div id="footer" +    ></div +    ></body +  ></html +>
\ No newline at end of file diff --git a/html-test/ref/Bug7.html b/html-test/ref/Bug7.html index ba1a4e26..26a8e7a3 100644 --- a/html-test/ref/Bug7.html +++ b/html-test/ref/Bug7.html @@ -109,11 +109,11 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:id:Foo:Bar:1"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Bug7"  		      >Bar</a -		      > <a href="#" +		      > <a href="#" title="Bug7"  		      >Foo</a -		      > <a href="#" +		      > <a href="#" title="Bug7"  		      >Foo</a  		      ></span  		    > <a href="#" class="selflink" @@ -129,6 +129,10 @@  		  ><details id="i:id:Foo:Bar:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary +		      ><p +		      >Defined in <a href="#" +			>Bug7</a +			></p  		      ></details  		    ></td  		  ></tr @@ -159,11 +163,11 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Bar:Bar:1"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Bug7"  		      >Bar</a -		      > <a href="#" +		      > <a href="#" title="Bug7"  		      >Foo</a -		      > <a href="#" +		      > <a href="#" title="Bug7"  		      >Foo</a  		      ></span  		    > <a href="#" class="selflink" @@ -179,6 +183,10 @@  		  ><details id="i:ic:Bar:Bar:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary +		      ><p +		      >Defined in <a href="#" +			>Bug7</a +			></p  		      ></details  		    ></td  		  ></tr diff --git a/html-test/ref/Bug8.html b/html-test/ref/Bug8.html index 3149d919..9de7cca6 100644 --- a/html-test/ref/Bug8.html +++ b/html-test/ref/Bug8.html @@ -58,9 +58,9 @@  	      ><td class="src"  		><a id="v:Type" class="def"  		  >Type</a -		  > (<a href="#" +		  > (<a href="#" title="Bug8"  		  >Typ</a -		  >, [<a href="#" +		  >, [<a href="#" title="Bug8"  		  >Typ</a  		  >])</td  		><td class="doc empty" @@ -70,9 +70,9 @@  	      ><td class="src"  		><a id="v:TFree" class="def"  		  >TFree</a -		  > (<a href="#" +		  > (<a href="#" title="Bug8"  		  >Typ</a -		  >, [<a href="#" +		  >, [<a href="#" title="Bug8"  		  >Typ</a  		  >])</td  		><td class="doc empty" @@ -85,7 +85,7 @@  	><p class="src"  	  ><a id="v:-45--45--62-" class="def"  	    >(-->)</a -	    > :: p1 -> p2 -> <a href="#" +	    > :: p1 -> p2 -> <a href="#" title="Bug8"  	    >Typ</a  	    > <span class="fixity"  	    >infix 9</span @@ -99,11 +99,11 @@  	><p class="src"  	  ><a id="v:-45--45--45--62-" class="def"  	    >(--->)</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Foldable"  	    >Foldable</a -	    > t0 => t0 t -> <a href="#" +	    > t0 => t0 t -> <a href="#" title="Bug8"  	    >Typ</a -	    > -> <a href="#" +	    > -> <a href="#" title="Bug8"  	    >Typ</a  	    > <span class="fixity"  	    >infix 9</span diff --git a/html-test/ref/Bug85.html b/html-test/ref/Bug85.html index ee602f82..4b704c5f 100644 --- a/html-test/ref/Bug85.html +++ b/html-test/ref/Bug85.html @@ -47,13 +47,13 @@  	    >data</span  	    > <a id="t:Foo" class="def"  	    >Foo</a -	    > :: (<a href="#" +	    > :: (<a href="#" title="Data.Kind"  	    >*</a -	    > -> <a href="#" +	    > -> <a href="#" title="Data.Kind"  	    >*</a -	    >) -> <a href="#" +	    >) -> <a href="#" title="Data.Kind"  	    >*</a -	    > -> <a href="#" +	    > -> <a href="#" title="Data.Kind"  	    >*</a  	    > <span class="keyword"  	    >where</span @@ -68,7 +68,7 @@  	      ><td class="src"  		><a id="v:Bar" class="def"  		  >Bar</a -		  > :: f x -> <a href="#" +		  > :: f x -> <a href="#" title="Bug85"  		  >Foo</a  		  > f (f x)</td  		><td class="doc empty" @@ -83,7 +83,7 @@  	    >data</span  	    > <a id="t:Baz" class="def"  	    >Baz</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Kind"  	    >*</a  	    > <span class="keyword"  	    >where</span @@ -98,7 +98,7 @@  	      ><td class="src"  		><a id="v:Baz-39-" class="def"  		  >Baz'</a -		  > :: <a href="#" +		  > :: <a href="#" title="Bug85"  		  >Baz</a  		  ></td  		><td class="doc empty" @@ -126,7 +126,7 @@  	      ><td class="src"  		><a id="v:Quux" class="def"  		  >Quux</a -		  > :: <a href="#" +		  > :: <a href="#" title="Bug85"  		  >Qux</a  		  ></td  		><td class="doc empty" diff --git a/html-test/ref/BugDeprecated.html b/html-test/ref/BugDeprecated.html index ca801201..4efe3da2 100644 --- a/html-test/ref/BugDeprecated.html +++ b/html-test/ref/BugDeprecated.html @@ -46,37 +46,37 @@  	  ><li class="src short"  	    ><a href="#"  	      >foo</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ><li class="src short"  	    ><a href="#"  	      >bar</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ><li class="src short"  	    ><a href="#"  	      >baz</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ><li class="src short"  	    ><a href="#"  	      >one</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ><li class="src short"  	    ><a href="#"  	      >two</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ><li class="src short"  	    ><a href="#"  	      >three</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ></ul @@ -89,7 +89,7 @@  	><p class="src"  	  ><a id="v:foo" class="def"  	    >foo</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a @@ -105,7 +105,7 @@  	><p class="src"  	  ><a id="v:bar" class="def"  	    >bar</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a @@ -121,7 +121,7 @@  	><p class="src"  	  ><a id="v:baz" class="def"  	    >baz</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a @@ -137,7 +137,7 @@  	><p class="src"  	  ><a id="v:one" class="def"  	    >one</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a @@ -155,7 +155,7 @@  	><p class="src"  	  ><a id="v:two" class="def"  	    >two</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a @@ -171,7 +171,7 @@  	><p class="src"  	  ><a id="v:three" class="def"  	    >three</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a diff --git a/html-test/ref/BugExportHeadings.html b/html-test/ref/BugExportHeadings.html index 7b3e7728..78af3351 100644 --- a/html-test/ref/BugExportHeadings.html +++ b/html-test/ref/BugExportHeadings.html @@ -76,86 +76,94 @@  	  ><li class="src short"  	    ><a href="#"  	      >foo</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ><li class="src short"  	    ><a href="#"  	      >bar</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ><li class="src short"  	    ><a href="#"  	      >baz</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ><li class="src short"  	    ><a href="#"  	      >one</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ><li class="src short"  	    ><a href="#"  	      >two</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ><li class="src short"  	    ><a href="#"  	      >three</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ></ul  	  ></details  	></div        ><div id="interface" -      ><h1 id="g:1" -	>Foo</h1 +      ><a href="#" id="g:1" +	><h1 +	  >Foo</h1 +	  ></a  	><div class="top"  	><p class="src"  	  ><a id="v:foo" class="def"  	    >foo</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a  	    ></p  	  ></div -	><h1 id="g:2" -	>Bar</h1 +	><a href="#" id="g:2" +	><h1 +	  >Bar</h1 +	  ></a  	><div class="top"  	><p class="src"  	  ><a id="v:bar" class="def"  	    >bar</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a  	    ></p  	  ></div -	><h1 id="g:3" -	>Baz</h1 +	><a href="#" id="g:3" +	><h1 +	  >Baz</h1 +	  ></a  	><div class="top"  	><p class="src"  	  ><a id="v:baz" class="def"  	    >baz</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a  	    ></p  	  ></div -	><h1 id="g:4" -	>One</h1 +	><a href="#" id="g:4" +	><h1 +	  >One</h1 +	  ></a  	><div class="top"  	><p class="src"  	  ><a id="v:one" class="def"  	    >one</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a @@ -167,13 +175,15 @@  	      ></div  	    ></div  	  ></div -	><h1 id="g:5" -	>Two</h1 +	><a href="#" id="g:5" +	><h1 +	  >Two</h1 +	  ></a  	><div class="top"  	><p class="src"  	  ><a id="v:two" class="def"  	    >two</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a @@ -185,13 +195,15 @@  	      ></div  	    ></div  	  ></div -	><h1 id="g:6" -	>Three</h1 +	><a href="#" id="g:6" +	><h1 +	  >Three</h1 +	  ></a  	><div class="top"  	><p class="src"  	  ><a id="v:three" class="def"  	    >three</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a diff --git a/html-test/ref/Bugs.html b/html-test/ref/Bugs.html index 8922fe9e..abe20dc2 100644 --- a/html-test/ref/Bugs.html +++ b/html-test/ref/Bugs.html @@ -58,7 +58,7 @@  	      ><td class="src"  		><a id="v:A" class="def"  		  >A</a -		  > a (a -> <a href="#" +		  > a (a -> <a href="#" title="Data.Int"  		  >Int</a  		  >)</td  		><td class="doc empty" diff --git a/html-test/ref/BundledPatterns.html b/html-test/ref/BundledPatterns.html index dea60728..7febd35f 100644 --- a/html-test/ref/BundledPatterns.html +++ b/html-test/ref/BundledPatterns.html @@ -48,11 +48,11 @@  	      >data</span  	      > <a href="#"  	      >Vec</a -	      > :: <a href="#" +	      > :: <a href="#" title="GHC.TypeNats"  	      >Nat</a -	      > -> <a href="#" +	      > -> <a href="#" title="Data.Kind"  	      >*</a -	      > -> <a href="#" +	      > -> <a href="#" title="Data.Kind"  	      >*</a  	      > <span class="keyword"  	      >where</span @@ -60,7 +60,7 @@  	      ><li  		><a href="#"  		  >Nil</a -		  > :: <a href="#" +		  > :: <a href="#" title="BundledPatterns"  		  >Vec</a  		  > 0 a</li  		><li @@ -68,11 +68,11 @@  		  >pattern</span  		  > <a href="#"  		  >(:>)</a -		  > :: a -> <a href="#" +		  > :: a -> <a href="#" title="BundledPatterns"  		  >Vec</a -		  > n a -> <a href="#" +		  > n a -> <a href="#" title="BundledPatterns"  		  >Vec</a -		  > (n <a href="#" +		  > (n <a href="#" title="Bug310"  		  >+</a  		  > 1) a</li  		></ul @@ -82,11 +82,11 @@  	      >data</span  	      > <a href="#"  	      >RTree</a -	      > :: <a href="#" +	      > :: <a href="#" title="GHC.TypeNats"  	      >Nat</a -	      > -> <a href="#" +	      > -> <a href="#" title="Data.Kind"  	      >*</a -	      > -> <a href="#" +	      > -> <a href="#" title="Data.Kind"  	      >*</a  	      > <span class="keyword"  	      >where</span @@ -96,7 +96,7 @@  		  >pattern</span  		  > <a href="#"  		  >LR</a -		  > :: a -> <a href="#" +		  > :: a -> <a href="#" title="BundledPatterns"  		  >RTree</a  		  > 0 a</li  		><li @@ -104,13 +104,13 @@  		  >pattern</span  		  > <a href="#"  		  >BR</a -		  > :: <a href="#" +		  > :: <a href="#" title="BundledPatterns"  		  >RTree</a -		  > d a -> <a href="#" +		  > d a -> <a href="#" title="BundledPatterns"  		  >RTree</a -		  > d a -> <a href="#" +		  > d a -> <a href="#" title="BundledPatterns"  		  >RTree</a -		  > (d <a href="#" +		  > (d <a href="#" title="Bug310"  		  >+</a  		  > 1) a</li  		></ul @@ -127,11 +127,11 @@  	    >data</span  	    > <a id="t:Vec" class="def"  	    >Vec</a -	    > :: <a href="#" +	    > :: <a href="#" title="GHC.TypeNats"  	    >Nat</a -	    > -> <a href="#" +	    > -> <a href="#" title="Data.Kind"  	    >*</a -	    > -> <a href="#" +	    > -> <a href="#" title="Data.Kind"  	    >*</a  	    > <span class="keyword"  	    >where</span @@ -146,7 +146,7 @@  	      >Lists with their length encoded in their type</li  	      ><li  	      ><code -		><a href="#" +		><a href="#" title="BundledPatterns"  		  >Vec</a  		  ></code  		>tor elements have an <strong @@ -154,7 +154,7 @@  		> subscript starting from 0 and     ending at <code  		><code -		  ><a href="#" +		  ><a href="#" title="Data.Foldable"  		    >length</a  		    ></code  		  > - 1</code @@ -169,7 +169,7 @@  	      ><td class="src"  		><a id="v:Nil" class="def"  		  >Nil</a -		  > :: <a href="#" +		  > :: <a href="#" title="BundledPatterns"  		  >Vec</a  		  > 0 a</td  		><td class="doc empty" @@ -187,11 +187,11 @@  		  >pattern</span  		  > <a id="v::-62-" class="def"  		  >(:>)</a -		  > :: a -> <a href="#" +		  > :: a -> <a href="#" title="BundledPatterns"  		  >Vec</a -		  > n a -> <a href="#" +		  > n a -> <a href="#" title="BundledPatterns"  		  >Vec</a -		  > (n <a href="#" +		  > (n <a href="#" title="Bug310"  		  >+</a  		  > 1) a <span class="fixity"  		  >infixr 5</span @@ -293,11 +293,11 @@  	    >data</span  	    > <a id="t:RTree" class="def"  	    >RTree</a -	    > :: <a href="#" +	    > :: <a href="#" title="GHC.TypeNats"  	    >Nat</a -	    > -> <a href="#" +	    > -> <a href="#" title="Data.Kind"  	    >*</a -	    > -> <a href="#" +	    > -> <a href="#" title="Data.Kind"  	    >*</a  	    > <span class="keyword"  	    >where</span @@ -328,7 +328,7 @@  		  >pattern</span  		  > <a id="v:LR" class="def"  		  >LR</a -		  > :: a -> <a href="#" +		  > :: a -> <a href="#" title="BundledPatterns"  		  >RTree</a  		  > 0 a</td  		><td class="doc" @@ -394,13 +394,13 @@  		  >pattern</span  		  > <a id="v:BR" class="def"  		  >BR</a -		  > :: <a href="#" +		  > :: <a href="#" title="BundledPatterns"  		  >RTree</a -		  > d a -> <a href="#" +		  > d a -> <a href="#" title="BundledPatterns"  		  >RTree</a -		  > d a -> <a href="#" +		  > d a -> <a href="#" title="BundledPatterns"  		  >RTree</a -		  > (d <a href="#" +		  > (d <a href="#" title="Bug310"  		  >+</a  		  > 1) a</td  		><td class="doc" diff --git a/html-test/ref/BundledPatterns2.html b/html-test/ref/BundledPatterns2.html index 385fd07f..9e791c65 100644 --- a/html-test/ref/BundledPatterns2.html +++ b/html-test/ref/BundledPatterns2.html @@ -48,11 +48,11 @@  	      >data</span  	      > <a href="#"  	      >Vec</a -	      > :: <a href="#" +	      > :: <a href="#" title="GHC.TypeNats"  	      >Nat</a -	      > -> <a href="#" +	      > -> <a href="#" title="Data.Kind"  	      >*</a -	      > -> <a href="#" +	      > -> <a href="#" title="Data.Kind"  	      >*</a  	      > <span class="keyword"  	      >where</span @@ -61,22 +61,22 @@  		><span class="keyword"  		  >pattern</span  		  > <a href="#" -		  >Empty</a -		  > :: <a href="#" +		  >(:>)</a +		  > :: a -> <a href="#" title="BundledPatterns2"  		  >Vec</a -		  > 0 a</li +		  > n a -> <a href="#" title="BundledPatterns2" +		  >Vec</a +		  > (n <a href="#" title="Bug310" +		  >+</a +		  > 1) a</li  		><li  		><span class="keyword"  		  >pattern</span  		  > <a href="#" -		  >(:>)</a -		  > :: a -> <a href="#" -		  >Vec</a -		  > n a -> <a href="#" +		  >Empty</a +		  > :: <a href="#" title="BundledPatterns2"  		  >Vec</a -		  > (n <a href="#" -		  >+</a -		  > 1) a</li +		  > 0 a</li  		></ul  	      ></li  	    ><li class="src short" @@ -84,11 +84,11 @@  	      >data</span  	      > <a href="#"  	      >RTree</a -	      > :: <a href="#" +	      > :: <a href="#" title="GHC.TypeNats"  	      >Nat</a -	      > -> <a href="#" +	      > -> <a href="#" title="Data.Kind"  	      >*</a -	      > -> <a href="#" +	      > -> <a href="#" title="Data.Kind"  	      >*</a  	      > <span class="keyword"  	      >where</span @@ -98,7 +98,7 @@  		  >pattern</span  		  > <a href="#"  		  >LR</a -		  > :: a -> <a href="#" +		  > :: a -> <a href="#" title="BundledPatterns2"  		  >RTree</a  		  > 0 a</li  		><li @@ -106,13 +106,13 @@  		  >pattern</span  		  > <a href="#"  		  >BR</a -		  > :: <a href="#" +		  > :: <a href="#" title="BundledPatterns2"  		  >RTree</a -		  > d a -> <a href="#" +		  > d a -> <a href="#" title="BundledPatterns2"  		  >RTree</a -		  > d a -> <a href="#" +		  > d a -> <a href="#" title="BundledPatterns2"  		  >RTree</a -		  > (d <a href="#" +		  > (d <a href="#" title="Bug310"  		  >+</a  		  > 1) a</li  		></ul @@ -129,11 +129,11 @@  	    >data</span  	    > <a id="t:Vec" class="def"  	    >Vec</a -	    > :: <a href="#" +	    > :: <a href="#" title="GHC.TypeNats"  	    >Nat</a -	    > -> <a href="#" +	    > -> <a href="#" title="Data.Kind"  	    >*</a -	    > -> <a href="#" +	    > -> <a href="#" title="Data.Kind"  	    >*</a  	    > <span class="keyword"  	    >where</span @@ -148,7 +148,7 @@  	      >Lists with their length encoded in their type</li  	      ><li  	      ><code -		><a href="#" +		><a href="#" title="BundledPatterns2"  		  >Vec</a  		  ></code  		>tor elements have an <strong @@ -156,7 +156,7 @@  		> subscript starting from 0 and     ending at <code  		><code -		  ><a href="#" +		  ><a href="#" title="Data.Foldable"  		    >length</a  		    ></code  		  > - 1</code @@ -171,25 +171,13 @@  	      ><td class="src"  		><span class="keyword"  		  >pattern</span -		  > <a id="v:Empty" class="def" -		  >Empty</a -		  > :: <a href="#" -		  >Vec</a -		  > 0 a</td -		><td class="doc empty" -		></td -		></tr -	      ><tr -	      ><td class="src" -		><span class="keyword" -		  >pattern</span  		  > <a id="v::-62-" class="def"  		  >(:>)</a -		  > :: a -> <a href="#" +		  > :: a -> <a href="#" title="BundledPatterns2"  		  >Vec</a -		  > n a -> <a href="#" +		  > n a -> <a href="#" title="BundledPatterns2"  		  >Vec</a -		  > (n <a href="#" +		  > (n <a href="#" title="Bug310"  		  >+</a  		  > 1) a <span class="fixity"  		  >infixr 5</span @@ -282,6 +270,18 @@  </pre  		  ></td  		></tr +	      ><tr +	      ><td class="src" +		><span class="keyword" +		  >pattern</span +		  > <a id="v:Empty" class="def" +		  >Empty</a +		  > :: <a href="#" title="BundledPatterns2" +		  >Vec</a +		  > 0 a</td +		><td class="doc empty" +		></td +		></tr  	      ></table  	    ></div  	  ></div @@ -291,11 +291,11 @@  	    >data</span  	    > <a id="t:RTree" class="def"  	    >RTree</a -	    > :: <a href="#" +	    > :: <a href="#" title="GHC.TypeNats"  	    >Nat</a -	    > -> <a href="#" +	    > -> <a href="#" title="Data.Kind"  	    >*</a -	    > -> <a href="#" +	    > -> <a href="#" title="Data.Kind"  	    >*</a  	    > <span class="keyword"  	    >where</span @@ -326,7 +326,7 @@  		  >pattern</span  		  > <a id="v:LR" class="def"  		  >LR</a -		  > :: a -> <a href="#" +		  > :: a -> <a href="#" title="BundledPatterns2"  		  >RTree</a  		  > 0 a</td  		><td class="doc" @@ -392,13 +392,13 @@  		  >pattern</span  		  > <a id="v:BR" class="def"  		  >BR</a -		  > :: <a href="#" +		  > :: <a href="#" title="BundledPatterns2"  		  >RTree</a -		  > d a -> <a href="#" +		  > d a -> <a href="#" title="BundledPatterns2"  		  >RTree</a -		  > d a -> <a href="#" +		  > d a -> <a href="#" title="BundledPatterns2"  		  >RTree</a -		  > (d <a href="#" +		  > (d <a href="#" title="Bug310"  		  >+</a  		  > 1) a</td  		><td class="doc" diff --git a/html-test/ref/ConstructorPatternExport.html b/html-test/ref/ConstructorPatternExport.html index 68e40a5a..4e062e34 100644 --- a/html-test/ref/ConstructorPatternExport.html +++ b/html-test/ref/ConstructorPatternExport.html @@ -47,7 +47,7 @@  	    >pattern</span  	    > <a id="v:FooCons" class="def"  	    >FooCons</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.String"  	    >String</a  	    > -> a -> Foo a <a href="#" class="selflink"  	    >#</a @@ -59,9 +59,9 @@  	    >pattern</span  	    > <a id="v:MyRecCons" class="def"  	    >MyRecCons</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Bool"  	    >Bool</a -	    > -> <a href="#" +	    > -> <a href="#" title="Data.Int"  	    >Int</a  	    > -> MyRec <a href="#" class="selflink"  	    >#</a @@ -73,7 +73,7 @@  	    >pattern</span  	    > <a id="v::-43-" class="def"  	    >(:+)</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.String"  	    >String</a  	    > -> a -> MyInfix a <a href="#" class="selflink"  	    >#</a @@ -85,7 +85,7 @@  	    >pattern</span  	    > <a id="v:BlubCons" class="def"  	    >BlubCons</a -	    > :: () => <a href="#" +	    > :: () => <a href="#" title="Text.Show"  	    >Show</a  	    > b => b -> Blub <a href="#" class="selflink"  	    >#</a @@ -99,13 +99,13 @@  	    >MyGADTCons</a  	    > :: () => <span class="keyword"  	    >forall</span -	    > a. <a href="#" +	    > a. <a href="#" title="Data.Eq"  	    >Eq</a -	    > a => a -> <a href="#" +	    > a => a -> <a href="#" title="Data.Int"  	    >Int</a -	    > -> MyGADT (<a href="#" +	    > -> MyGADT (<a href="#" title="Data.Maybe"  	    >Maybe</a -	    > <a href="#" +	    > <a href="#" title="Data.String"  	    >String</a  	    >) <a href="#" class="selflink"  	    >#</a diff --git a/html-test/ref/DeprecatedClass.html b/html-test/ref/DeprecatedClass.html index f7571316..fc78c987 100644 --- a/html-test/ref/DeprecatedClass.html +++ b/html-test/ref/DeprecatedClass.html @@ -92,7 +92,7 @@  	  ><p class="caption"  	    >Minimal complete definition</p  	    ><p class="src" -	    ><a href="#" +	    ><a href="#" title="DeprecatedClass"  	      >foo</a  	      ></p  	    ></div @@ -136,7 +136,7 @@  	  ><p class="caption"  	    >Minimal complete definition</p  	    ><p class="src" -	    ><a href="#" +	    ><a href="#" title="DeprecatedClass"  	      >bar</a  	      ></p  	    ></div diff --git a/html-test/ref/DeprecatedFunction.html b/html-test/ref/DeprecatedFunction.html index 41bf7454..b43526ba 100644 --- a/html-test/ref/DeprecatedFunction.html +++ b/html-test/ref/DeprecatedFunction.html @@ -46,13 +46,13 @@  	  ><li class="src short"  	    ><a href="#"  	      >foo</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ><li class="src short"  	    ><a href="#"  	      >bar</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ></ul @@ -65,7 +65,7 @@  	><p class="src"  	  ><a id="v:foo" class="def"  	    >foo</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a @@ -74,7 +74,7 @@  	  ><div class="warning"  	    ><p  	      >Deprecated: use <code -		><a href="#" +		><a href="#" title="DeprecatedFunction"  		  >bar</a  		  ></code  		> instead</p @@ -87,7 +87,7 @@  	><p class="src"  	  ><a id="v:bar" class="def"  	    >bar</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a diff --git a/html-test/ref/DeprecatedFunction2.html b/html-test/ref/DeprecatedFunction2.html index bbf6cdd7..db0098b2 100644 --- a/html-test/ref/DeprecatedFunction2.html +++ b/html-test/ref/DeprecatedFunction2.html @@ -46,7 +46,7 @@  	  ><li class="src short"  	    ><a href="#"  	      >foo</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ></ul @@ -59,7 +59,7 @@  	><p class="src"  	  ><a id="v:foo" class="def"  	    >foo</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a diff --git a/html-test/ref/DeprecatedFunction3.html b/html-test/ref/DeprecatedFunction3.html index 96474a98..950c5203 100644 --- a/html-test/ref/DeprecatedFunction3.html +++ b/html-test/ref/DeprecatedFunction3.html @@ -46,7 +46,7 @@  	  ><li class="src short"  	    ><a href="#"  	      >foo</a -	      > :: <a href="#" +	      > :: <a href="#" title="Prelude"  	      >Integer</a  	      ></li  	    ></ul @@ -59,7 +59,7 @@  	><p class="src"  	  ><a id="v:foo" class="def"  	    >foo</a -	    > :: <a href="#" +	    > :: <a href="#" title="Prelude"  	    >Integer</a  	    > <a href="#" class="selflink"  	    >#</a diff --git a/html-test/ref/DeprecatedModule.html b/html-test/ref/DeprecatedModule.html index 9971adb5..91150577 100644 --- a/html-test/ref/DeprecatedModule.html +++ b/html-test/ref/DeprecatedModule.html @@ -61,7 +61,7 @@  	><p class="src"  	  ><a id="v:foo" class="def"  	    >foo</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a diff --git a/html-test/ref/DeprecatedModule2.html b/html-test/ref/DeprecatedModule2.html index 2e390b4f..6688781f 100644 --- a/html-test/ref/DeprecatedModule2.html +++ b/html-test/ref/DeprecatedModule2.html @@ -55,7 +55,7 @@  	><p class="src"  	  ><a id="v:foo" class="def"  	    >foo</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a diff --git a/html-test/ref/DeprecatedNewtype.html b/html-test/ref/DeprecatedNewtype.html index c7803c81..8158f61d 100644 --- a/html-test/ref/DeprecatedNewtype.html +++ b/html-test/ref/DeprecatedNewtype.html @@ -50,7 +50,7 @@  	      >SomeNewType</a  	      > = <a href="#"  	      >SomeNewTypeConst</a -	      > <a href="#" +	      > <a href="#" title="Data.String"  	      >String</a  	      ></li  	    ><li class="src short" @@ -60,7 +60,7 @@  	      >SomeOtherNewType</a  	      > = <a href="#"  	      >SomeOtherNewTypeConst</a -	      > <a href="#" +	      > <a href="#" title="Data.String"  	      >String</a  	      ></li  	    ></ul @@ -94,7 +94,7 @@  	      ><td class="src"  		><a id="v:SomeNewTypeConst" class="def"  		  >SomeNewTypeConst</a -		  > <a href="#" +		  > <a href="#" title="Data.String"  		  >String</a  		  ></td  		><td class="doc" @@ -132,7 +132,7 @@  	      ><td class="src"  		><a id="v:SomeOtherNewTypeConst" class="def"  		  >SomeOtherNewTypeConst</a -		  > <a href="#" +		  > <a href="#" title="Data.String"  		  >String</a  		  ></td  		><td class="doc" diff --git a/html-test/ref/DeprecatedReExport.html b/html-test/ref/DeprecatedReExport.html index fd137108..f2bbb766 100644 --- a/html-test/ref/DeprecatedReExport.html +++ b/html-test/ref/DeprecatedReExport.html @@ -72,20 +72,22 @@  	  ><li class="src short"  	    ><a href="#"  	      >foo</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ></ul  	  ></details  	></div        ><div id="interface" -      ><h1 id="g:1" -	>Re-exported from an other module</h1 +      ><a href="#" id="g:1" +	><h1 +	  >Re-exported from an other module</h1 +	  ></a  	><div class="top"  	><p class="src"  	  ><a id="v:foo" class="def"  	    >foo</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a @@ -94,7 +96,7 @@  	  ><div class="warning"  	    ><p  	      >Deprecated: use <code -		><a href="#" +		><a href="#" title="DeprecatedFunction"  		  >bar</a  		  ></code  		> instead</p @@ -103,8 +105,10 @@  	    >some documentation for foo</p  	    ></div  	  ></div -	><h1 id="g:2" -	>Re-exported from an other package</h1 +	><a href="#" id="g:2" +	><h1 +	  >Re-exported from an other package</h1 +	  ></a  	><div class="doc"  	><p  	  >Not yet working, see <a href="#" diff --git a/html-test/ref/DeprecatedRecord.html b/html-test/ref/DeprecatedRecord.html index 3e2aa285..c2de1538 100644 --- a/html-test/ref/DeprecatedRecord.html +++ b/html-test/ref/DeprecatedRecord.html @@ -54,13 +54,13 @@  	      ><li  		><a href="#"  		  >fooName</a -		  > :: <a href="#" +		  > :: <a href="#" title="Data.String"  		  >String</a  		  ></li  		><li  		><a href="#"  		  >fooValue</a -		  > :: <a href="#" +		  > :: <a href="#" title="Data.Int"  		  >Int</a  		  ></li  		></ul @@ -106,7 +106,7 @@  		      ><dfn class="src"  			><a id="v:fooName" class="def"  			  >fooName</a -			  > :: <a href="#" +			  > :: <a href="#" title="Data.String"  			  >String</a  			  ></dfn  			><div class="doc" @@ -118,7 +118,7 @@  		      ><dfn class="src"  			><a id="v:fooValue" class="def"  			  >fooValue</a -			  > :: <a href="#" +			  > :: <a href="#" title="Data.Int"  			  >Int</a  			  ></dfn  			><div class="doc" diff --git a/html-test/ref/DeprecatedTypeFamily.html b/html-test/ref/DeprecatedTypeFamily.html index 6f267c01..fd13e48a 100644 --- a/html-test/ref/DeprecatedTypeFamily.html +++ b/html-test/ref/DeprecatedTypeFamily.html @@ -48,9 +48,9 @@  	      >data family</span  	      > <a href="#"  	      >SomeTypeFamily</a -	      > k :: <a href="#" +	      > k :: <a href="#" title="Data.Kind"  	      >*</a -	      > -> <a href="#" +	      > -> <a href="#" title="Data.Kind"  	      >*</a  	      ></li  	    ><li class="src short" @@ -58,9 +58,9 @@  	      >data family</span  	      > <a href="#"  	      >SomeOtherTypeFamily</a -	      > k :: <a href="#" +	      > k :: <a href="#" title="Data.Kind"  	      >*</a -	      > -> <a href="#" +	      > -> <a href="#" title="Data.Kind"  	      >*</a  	      ></li  	    ></ul @@ -75,9 +75,9 @@  	    >data family</span  	    > <a id="t:SomeTypeFamily" class="def"  	    >SomeTypeFamily</a -	    > k :: <a href="#" +	    > k :: <a href="#" title="Data.Kind"  	    >*</a -	    > -> <a href="#" +	    > -> <a href="#" title="Data.Kind"  	    >*</a  	    > <a href="#" class="selflink"  	    >#</a @@ -97,9 +97,9 @@  	    >data family</span  	    > <a id="t:SomeOtherTypeFamily" class="def"  	    >SomeOtherTypeFamily</a -	    > k :: <a href="#" +	    > k :: <a href="#" title="Data.Kind"  	    >*</a -	    > -> <a href="#" +	    > -> <a href="#" title="Data.Kind"  	    >*</a  	    > <a href="#" class="selflink"  	    >#</a diff --git a/html-test/ref/DeprecatedTypeSynonym.html b/html-test/ref/DeprecatedTypeSynonym.html index db0a8ab6..fcb7f5ce 100644 --- a/html-test/ref/DeprecatedTypeSynonym.html +++ b/html-test/ref/DeprecatedTypeSynonym.html @@ -48,7 +48,7 @@  	      >type</span  	      > <a href="#"  	      >TypeSyn</a -	      > = <a href="#" +	      > = <a href="#" title="Data.String"  	      >String</a  	      ></li  	    ><li class="src short" @@ -56,7 +56,7 @@  	      >type</span  	      > <a href="#"  	      >OtherTypeSyn</a -	      > = <a href="#" +	      > = <a href="#" title="Data.String"  	      >String</a  	      ></li  	    ></ul @@ -71,7 +71,7 @@  	    >type</span  	    > <a id="t:TypeSyn" class="def"  	    >TypeSyn</a -	    > = <a href="#" +	    > = <a href="#" title="Data.String"  	    >String</a  	    > <a href="#" class="selflink"  	    >#</a @@ -91,7 +91,7 @@  	    >type</span  	    > <a id="t:OtherTypeSyn" class="def"  	    >OtherTypeSyn</a -	    > = <a href="#" +	    > = <a href="#" title="Data.String"  	    >String</a  	    > <a href="#" class="selflink"  	    >#</a diff --git a/html-test/ref/Examples.html b/html-test/ref/Examples.html index fa321fab..77a341f0 100644 --- a/html-test/ref/Examples.html +++ b/html-test/ref/Examples.html @@ -46,9 +46,9 @@  	  ><li class="src short"  	    ><a href="#"  	      >fib</a -	      > :: <a href="#" +	      > :: <a href="#" title="Prelude"  	      >Integer</a -	      > -> <a href="#" +	      > -> <a href="#" title="Prelude"  	      >Integer</a  	      ></li  	    ></ul @@ -61,9 +61,9 @@  	><p class="src"  	  ><a id="v:fib" class="def"  	    >fib</a -	    > :: <a href="#" +	    > :: <a href="#" title="Prelude"  	    >Integer</a -	    > -> <a href="#" +	    > -> <a href="#" title="Prelude"  	    >Integer</a  	    > <a href="#" class="selflink"  	    >#</a @@ -71,7 +71,7 @@  	  ><div class="doc"  	  ><p  	    >Fibonacci number of given <code -	      ><a href="#" +	      ><a href="#" title="Prelude"  		>Integer</a  		></code  	      >.</p diff --git a/html-test/ref/FunArgs.html b/html-test/ref/FunArgs.html index 485f7e28..97c9a3c5 100644 --- a/html-test/ref/FunArgs.html +++ b/html-test/ref/FunArgs.html @@ -54,7 +54,7 @@  	    ><table  	    ><tr  	      ><td class="src" -		>:: <a href="#" +		>:: <a href="#" title="Data.Ord"  		  >Ord</a  		  > a</td  		><td class="doc empty" @@ -62,7 +62,7 @@  		></tr  	      ><tr  	      ><td class="src" -		>=> <a href="#" +		>=> <a href="#" title="Data.Int"  		  >Int</a  		  ></td  		><td class="doc" @@ -80,7 +80,7 @@  		></tr  	      ><tr  	      ><td class="src" -		>-> <a href="#" +		>-> <a href="#" title="Data.Bool"  		  >Bool</a  		  ></td  		><td class="doc" @@ -214,7 +214,7 @@  	      ><td class="src"  		>:: <span class="keyword"  		  >forall</span -		  > (b :: ()). d ~ <a href="#" +		  > (b :: ()). d ~ <a href="#" title="GHC.Tuple"  		  >()</a  		  ></td  		><td class="doc empty" diff --git a/html-test/ref/GADTRecords.html b/html-test/ref/GADTRecords.html index bba54b3e..7fb5c4d6 100644 --- a/html-test/ref/GADTRecords.html +++ b/html-test/ref/GADTRecords.html @@ -54,33 +54,33 @@  	      ><li  		><a href="#"  		  >C1</a -		  > :: <a href="#" +		  > :: <a href="#" title="GADTRecords"  		  >H1</a  		  > a b</li  		><li  		><a href="#"  		  >C2</a -		  > :: <a href="#" +		  > :: <a href="#" title="Data.Ord"  		  >Ord</a -		  > a => [a] -> <a href="#" +		  > a => [a] -> <a href="#" title="GADTRecords"  		  >H1</a  		  > a a</li  		><li  		><a href="#"  		  >C3</a -		  > :: {..} -> <a href="#" +		  > :: {..} -> <a href="#" title="GADTRecords"  		  >H1</a -		  > <a href="#" +		  > <a href="#" title="Data.Int"  		  >Int</a -		  > <a href="#" +		  > <a href="#" title="Data.Int"  		  >Int</a  		  ></li  		><li  		><a href="#"  		  >C4</a -		  > :: {..} -> <a href="#" +		  > :: {..} -> <a href="#" title="GADTRecords"  		  >H1</a -		  > <a href="#" +		  > <a href="#" title="Data.Int"  		  >Int</a  		  > a</li  		></ul @@ -114,7 +114,7 @@  	      ><td class="src"  		><a id="v:C1" class="def"  		  >C1</a -		  > :: <a href="#" +		  > :: <a href="#" title="GADTRecords"  		  >H1</a  		  > a b</td  		><td class="doc empty" @@ -124,9 +124,9 @@  	      ><td class="src"  		><a id="v:C2" class="def"  		  >C2</a -		  > :: <a href="#" +		  > :: <a href="#" title="Data.Ord"  		  >Ord</a -		  > a => [a] -> <a href="#" +		  > a => [a] -> <a href="#" title="GADTRecords"  		  >H1</a  		  > a a</td  		><td class="doc empty" @@ -136,11 +136,11 @@  	      ><td class="src"  		><a id="v:C3" class="def"  		  >C3</a -		  > :: {..} -> <a href="#" +		  > :: {..} -> <a href="#" title="GADTRecords"  		  >H1</a -		  > <a href="#" +		  > <a href="#" title="Data.Int"  		  >Int</a -		  > <a href="#" +		  > <a href="#" title="Data.Int"  		  >Int</a  		  ></td  		><td class="doc empty" @@ -156,7 +156,7 @@  		      ><dfn class="src"  			><a id="v:field" class="def"  			  >field</a -			  > :: <a href="#" +			  > :: <a href="#" title="Data.Int"  			  >Int</a  			  ></dfn  			><div class="doc" @@ -172,9 +172,9 @@  	      ><td class="src"  		><a id="v:C4" class="def"  		  >C4</a -		  > :: {..} -> <a href="#" +		  > :: {..} -> <a href="#" title="GADTRecords"  		  >H1</a -		  > <a href="#" +		  > <a href="#" title="Data.Int"  		  >Int</a  		  > a</td  		><td class="doc empty" diff --git a/html-test/ref/Hash.html b/html-test/ref/Hash.html index 21004e20..8c48cee4 100644 --- a/html-test/ref/Hash.html +++ b/html-test/ref/Hash.html @@ -87,35 +87,35 @@  	    ><li class="src short"  	    ><a href="#"  	      >new</a -	      > :: (<a href="#" +	      > :: (<a href="#" title="Data.Eq"  	      >Eq</a -	      > key, <a href="#" +	      > key, <a href="#" title="Hash"  	      >Hash</a -	      > key) => <a href="#" +	      > key) => <a href="#" title="Data.Int"  	      >Int</a -	      > -> <a href="#" +	      > -> <a href="#" title="System.IO"  	      >IO</a -	      > (<a href="#" +	      > (<a href="#" title="Hash"  	      >HashTable</a  	      > key val)</li  	    ><li class="src short"  	    ><a href="#"  	      >insert</a -	      > :: (<a href="#" +	      > :: (<a href="#" title="Data.Eq"  	      >Eq</a -	      > key, <a href="#" +	      > key, <a href="#" title="Hash"  	      >Hash</a -	      > key) => key -> val -> <a href="#" +	      > key) => key -> val -> <a href="#" title="System.IO"  	      >IO</a  	      > ()</li  	    ><li class="src short"  	    ><a href="#"  	      >lookup</a -	      > :: <a href="#" +	      > :: <a href="#" title="Hash"  	      >Hash</a -	      > key => key -> <a href="#" +	      > key => key -> <a href="#" title="System.IO"  	      >IO</a -	      > (<a href="#" +	      > (<a href="#" title="Data.Maybe"  	      >Maybe</a  	      > val)</li  	    ><li class="src short" @@ -132,10 +132,12 @@  	  ></details  	></div        ><div id="interface" -      ><h1 id="g:1" -	>The <code -	  >HashTable</code -	  > type</h1 +      ><a href="#" id="g:1" +	><h1 +	  >The <code +	    >HashTable</code +	    > type</h1 +	  ></a  	><div class="top"  	><p class="src"  	  ><span class="keyword" @@ -155,29 +157,31 @@   The type <code  	      >key</code  	      > should be an instance of <code -	      ><a href="#" +	      ><a href="#" title="Data.Eq"  		>Eq</a  		></code  	      >.</p  	    ></div  	  ></div -	><h2 id="g:2" -	>Operations on <code -	  >HashTable</code -	  >s</h2 +	><a href="#" id="g:2" +	><h2 +	  >Operations on <code +	    >HashTable</code +	    >s</h2 +	  ></a  	><div class="top"  	><p class="src"  	  ><a id="v:new" class="def"  	    >new</a -	    > :: (<a href="#" +	    > :: (<a href="#" title="Data.Eq"  	    >Eq</a -	    > key, <a href="#" +	    > key, <a href="#" title="Hash"  	    >Hash</a -	    > key) => <a href="#" +	    > key) => <a href="#" title="Data.Int"  	    >Int</a -	    > -> <a href="#" +	    > -> <a href="#" title="System.IO"  	    >IO</a -	    > (<a href="#" +	    > (<a href="#" title="Hash"  	    >HashTable</a  	    > key val) <a href="#" class="selflink"  	    >#</a @@ -191,11 +195,11 @@  	><p class="src"  	  ><a id="v:insert" class="def"  	    >insert</a -	    > :: (<a href="#" +	    > :: (<a href="#" title="Data.Eq"  	    >Eq</a -	    > key, <a href="#" +	    > key, <a href="#" title="Hash"  	    >Hash</a -	    > key) => key -> val -> <a href="#" +	    > key) => key -> val -> <a href="#" title="System.IO"  	    >IO</a  	    > () <a href="#" class="selflink"  	    >#</a @@ -209,11 +213,11 @@  	><p class="src"  	  ><a id="v:lookup" class="def"  	    >lookup</a -	    > :: <a href="#" +	    > :: <a href="#" title="Hash"  	    >Hash</a -	    > key => key -> <a href="#" +	    > key => key -> <a href="#" title="System.IO"  	    >IO</a -	    > (<a href="#" +	    > (<a href="#" title="Data.Maybe"  	    >Maybe</a  	    > val) <a href="#" class="selflink"  	    >#</a @@ -222,22 +226,24 @@  	  ><p  	    >Looks up a key in the hash table, returns <code  	      ><code -		><a href="#" +		><a href="#" title="Data.Maybe"  		  >Just</a  		  ></code  		> val</code  	      > if the key   was found, or <code -	      ><a href="#" +	      ><a href="#" title="Data.Maybe"  		>Nothing</a  		></code  	      > otherwise.</p  	    ></div  	  ></div -	><h1 id="g:3" -	>The <code -	  >Hash</code -	  > class</h1 +	><a href="#" id="g:3" +	><h1 +	  >The <code +	    >Hash</code +	    > class</h1 +	  ></a  	><div class="top"  	><p class="src"  	  ><span class="keyword" @@ -257,7 +263,7 @@  	  ><p class="caption"  	    >Minimal complete definition</p  	    ><p class="src" -	    ><a href="#" +	    ><a href="#" title="Hash"  	      >hash</a  	      ></p  	    ></div @@ -267,7 +273,7 @@  	    ><p class="src"  	    ><a id="v:hash" class="def"  	      >hash</a -	      > :: a -> <a href="#" +	      > :: a -> <a href="#" title="Data.Int"  	      >Int</a  	      > <a href="#" class="selflink"  	      >#</a @@ -277,7 +283,7 @@  	      >hashes the value of type <code  		>a</code  		> into an <code -		><a href="#" +		><a href="#" title="Data.Int"  		  >Int</a  		  ></code  		></p @@ -293,9 +299,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Hash:Hash:1"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Hash"  		      >Hash</a -		      > <a href="#" +		      > <a href="#" title="Prelude"  		      >Float</a  		      ></span  		    > <a href="#" class="selflink" @@ -309,15 +315,19 @@  		  ><details id="i:ic:Hash:Hash:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Hash</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >hash</a -			  > :: <a href="#" +			  > :: <a href="#" title="Prelude"  			  >Float</a -			  > -> <a href="#" +			  > -> <a href="#" title="Data.Int"  			  >Int</a  			  > <a href="#" class="selflink"  			  >#</a @@ -331,9 +341,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Hash:Hash:2"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Hash"  		      >Hash</a -		      > <a href="#" +		      > <a href="#" title="Data.Int"  		      >Int</a  		      ></span  		    > <a href="#" class="selflink" @@ -347,15 +357,19 @@  		  ><details id="i:ic:Hash:Hash:2"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Hash</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >hash</a -			  > :: <a href="#" +			  > :: <a href="#" title="Data.Int"  			  >Int</a -			  > -> <a href="#" +			  > -> <a href="#" title="Data.Int"  			  >Int</a  			  > <a href="#" class="selflink"  			  >#</a @@ -369,11 +383,11 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Hash:Hash:3"  		      ></span -		      > (<a href="#" +		      > (<a href="#" title="Hash"  		      >Hash</a -		      > a, <a href="#" +		      > a, <a href="#" title="Hash"  		      >Hash</a -		      > b) => <a href="#" +		      > b) => <a href="#" title="Hash"  		      >Hash</a  		      > (a, b)</span  		    > <a href="#" class="selflink" @@ -387,13 +401,17 @@  		  ><details id="i:ic:Hash:Hash:3"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Hash</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >hash</a -			  > :: (a, b) -> <a href="#" +			  > :: (a, b) -> <a href="#" title="Data.Int"  			  >Int</a  			  > <a href="#" class="selflink"  			  >#</a diff --git a/html-test/ref/HiddenInstances.html b/html-test/ref/HiddenInstances.html index b3586649..9594d8e1 100644 --- a/html-test/ref/HiddenInstances.html +++ b/html-test/ref/HiddenInstances.html @@ -84,9 +84,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:VisibleClass:VisibleClass:1"  		      ></span -		      > <a href="#" +		      > <a href="#" title="HiddenInstances"  		      >VisibleClass</a -		      > <a href="#" +		      > <a href="#" title="Data.Int"  		      >Int</a  		      ></span  		    > <a href="#" class="selflink" @@ -102,6 +102,10 @@  		  ><details id="i:ic:VisibleClass:VisibleClass:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary +		      ><p +		      >Defined in <a href="#" +			>HiddenInstances</a +			></p  		      ></details  		    ></td  		  ></tr @@ -110,9 +114,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:VisibleClass:VisibleClass:2"  		      ></span -		      > <a href="#" +		      > <a href="#" title="HiddenInstances"  		      >VisibleClass</a -		      > <a href="#" +		      > <a href="#" title="HiddenInstances"  		      >VisibleData</a  		      ></span  		    > <a href="#" class="selflink" @@ -128,6 +132,10 @@  		  ><details id="i:ic:VisibleClass:VisibleClass:2"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary +		      ><p +		      >Defined in <a href="#" +			>HiddenInstances</a +			></p  		      ></details  		    ></td  		  ></tr @@ -158,9 +166,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:id:VisibleData:Num:1"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Prelude"  		      >Num</a -		      > <a href="#" +		      > <a href="#" title="HiddenInstances"  		      >VisibleData</a  		      ></span  		    > <a href="#" class="selflink" @@ -176,17 +184,21 @@  		  ><details id="i:id:VisibleData:Num:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>HiddenInstances</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >(+)</a -			  > :: <a href="#" +			  > :: <a href="#" title="HiddenInstances"  			  >VisibleData</a -			  > -> <a href="#" +			  > -> <a href="#" title="HiddenInstances"  			  >VisibleData</a -			  > -> <a href="#" +			  > -> <a href="#" title="HiddenInstances"  			  >VisibleData</a  			  > <a href="#" class="selflink"  			  >#</a @@ -194,11 +206,11 @@  			><p class="src"  			><a href="#"  			  >(-)</a -			  > :: <a href="#" +			  > :: <a href="#" title="HiddenInstances"  			  >VisibleData</a -			  > -> <a href="#" +			  > -> <a href="#" title="HiddenInstances"  			  >VisibleData</a -			  > -> <a href="#" +			  > -> <a href="#" title="HiddenInstances"  			  >VisibleData</a  			  > <a href="#" class="selflink"  			  >#</a @@ -206,11 +218,11 @@  			><p class="src"  			><a href="#"  			  >(*)</a -			  > :: <a href="#" +			  > :: <a href="#" title="HiddenInstances"  			  >VisibleData</a -			  > -> <a href="#" +			  > -> <a href="#" title="HiddenInstances"  			  >VisibleData</a -			  > -> <a href="#" +			  > -> <a href="#" title="HiddenInstances"  			  >VisibleData</a  			  > <a href="#" class="selflink"  			  >#</a @@ -218,9 +230,9 @@  			><p class="src"  			><a href="#"  			  >negate</a -			  > :: <a href="#" +			  > :: <a href="#" title="HiddenInstances"  			  >VisibleData</a -			  > -> <a href="#" +			  > -> <a href="#" title="HiddenInstances"  			  >VisibleData</a  			  > <a href="#" class="selflink"  			  >#</a @@ -228,9 +240,9 @@  			><p class="src"  			><a href="#"  			  >abs</a -			  > :: <a href="#" +			  > :: <a href="#" title="HiddenInstances"  			  >VisibleData</a -			  > -> <a href="#" +			  > -> <a href="#" title="HiddenInstances"  			  >VisibleData</a  			  > <a href="#" class="selflink"  			  >#</a @@ -238,9 +250,9 @@  			><p class="src"  			><a href="#"  			  >signum</a -			  > :: <a href="#" +			  > :: <a href="#" title="HiddenInstances"  			  >VisibleData</a -			  > -> <a href="#" +			  > -> <a href="#" title="HiddenInstances"  			  >VisibleData</a  			  > <a href="#" class="selflink"  			  >#</a @@ -248,9 +260,9 @@  			><p class="src"  			><a href="#"  			  >fromInteger</a -			  > :: <a href="#" +			  > :: <a href="#" title="Prelude"  			  >Integer</a -			  > -> <a href="#" +			  > -> <a href="#" title="HiddenInstances"  			  >VisibleData</a  			  > <a href="#" class="selflink"  			  >#</a @@ -264,9 +276,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:id:VisibleData:VisibleClass:2"  		      ></span -		      > <a href="#" +		      > <a href="#" title="HiddenInstances"  		      >VisibleClass</a -		      > <a href="#" +		      > <a href="#" title="HiddenInstances"  		      >VisibleData</a  		      ></span  		    > <a href="#" class="selflink" @@ -282,6 +294,10 @@  		  ><details id="i:id:VisibleData:VisibleClass:2"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary +		      ><p +		      >Defined in <a href="#" +			>HiddenInstances</a +			></p  		      ></details  		    ></td  		  ></tr diff --git a/html-test/ref/HiddenInstancesB.html b/html-test/ref/HiddenInstancesB.html index d2f7b74d..5b69947e 100644 --- a/html-test/ref/HiddenInstancesB.html +++ b/html-test/ref/HiddenInstancesB.html @@ -84,9 +84,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Foo:Foo:1"  		      ></span -		      > <a href="#" +		      > <a href="#" title="HiddenInstancesB"  		      >Foo</a -		      > <a href="#" +		      > <a href="#" title="HiddenInstancesB"  		      >Bar</a  		      ></span  		    > <a href="#" class="selflink" @@ -102,6 +102,10 @@  		  ><details id="i:ic:Foo:Foo:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary +		      ><p +		      >Defined in <a href="#" +			>HiddenInstancesA</a +			></p  		      ></details  		    ></td  		  ></tr @@ -132,9 +136,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:id:Bar:Foo:1"  		      ></span -		      > <a href="#" +		      > <a href="#" title="HiddenInstancesB"  		      >Foo</a -		      > <a href="#" +		      > <a href="#" title="HiddenInstancesB"  		      >Bar</a  		      ></span  		    > <a href="#" class="selflink" @@ -150,6 +154,10 @@  		  ><details id="i:id:Bar:Foo:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary +		      ><p +		      >Defined in <a href="#" +			>HiddenInstancesA</a +			></p  		      ></details  		    ></td  		  ></tr diff --git a/html-test/ref/Hyperlinks.html b/html-test/ref/Hyperlinks.html index 8e190358..f331e741 100644 --- a/html-test/ref/Hyperlinks.html +++ b/html-test/ref/Hyperlinks.html @@ -46,7 +46,7 @@  	  ><li class="src short"  	    ><a href="#"  	      >foo</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ></ul @@ -59,7 +59,7 @@  	><p class="src"  	  ><a id="v:foo" class="def"  	    >foo</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a diff --git a/html-test/ref/ImplicitParams.html b/html-test/ref/ImplicitParams.html index 30e121b0..eb8456ae 100644 --- a/html-test/ref/ImplicitParams.html +++ b/html-test/ref/ImplicitParams.html @@ -69,9 +69,9 @@  	><p class="src"  	  ><a id="v:c" class="def"  	    >c</a -	    > :: (?x :: <a href="#" +	    > :: (?x :: <a href="#" title="ImplicitParams"  	    >X</a -	    >) => <a href="#" +	    >) => <a href="#" title="ImplicitParams"  	    >X</a  	    > <a href="#" class="selflink"  	    >#</a @@ -81,13 +81,13 @@  	><p class="src"  	  ><a id="v:d" class="def"  	    >d</a -	    > :: (?x :: <a href="#" +	    > :: (?x :: <a href="#" title="ImplicitParams"  	    >X</a -	    >, ?y :: <a href="#" +	    >, ?y :: <a href="#" title="ImplicitParams"  	    >X</a -	    >) => (<a href="#" +	    >) => (<a href="#" title="ImplicitParams"  	    >X</a -	    >, <a href="#" +	    >, <a href="#" title="ImplicitParams"  	    >X</a  	    >) <a href="#" class="selflink"  	    >#</a @@ -97,7 +97,7 @@  	><p class="src"  	  ><a id="v:f" class="def"  	    >f</a -	    > :: ((?x :: <a href="#" +	    > :: ((?x :: <a href="#" title="ImplicitParams"  	    >X</a  	    >) => a) -> a <a href="#" class="selflink"  	    >#</a diff --git a/html-test/ref/Instances.html b/html-test/ref/Instances.html index 84c9498f..3dc26133 100644 --- a/html-test/ref/Instances.html +++ b/html-test/ref/Instances.html @@ -74,9 +74,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:id:-60--126--126-:Foo:1"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Instances"  		      >Foo</a -		      > (<a href="#" +		      > (<a href="#" title="Instances"  		      >(<~~)</a  		      > a)</span  		    > <a href="#" class="selflink" @@ -90,17 +90,21 @@  		  ><details id="i:id:-60--126--126-:Foo:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Instances</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >foo</a -			  > :: (a <a href="#" +			  > :: (a <a href="#" title="Instances"  			  ><~~</a -			  > <a href="#" +			  > <a href="#" title="Data.Int"  			  >Int</a -			  >) -> a0 -> a <a href="#" +			  >) -> a0 -> a <a href="#" title="Instances"  			  ><~~</a  			  > a0 <a href="#" class="selflink"  			  >#</a @@ -108,17 +112,17 @@  			><p class="src"  			><a href="#"  			  >foo'</a -			  > :: (a <a href="#" +			  > :: (a <a href="#" title="Instances"  			  ><~~</a -			  > (a <a href="#" +			  > (a <a href="#" title="Instances"  			  ><~~</a -			  > a0)) -> <a href="#" +			  > a0)) -> <a href="#" title="Data.Int"  			  >Int</a -			  > -> a <a href="#" +			  > -> a <a href="#" title="Instances"  			  ><~~</a -			  > (a <a href="#" +			  > (a <a href="#" title="Instances"  			  ><~~</a -			  > <a href="#" +			  > <a href="#" title="Data.Int"  			  >Int</a  			  >) <a href="#" class="selflink"  			  >#</a @@ -148,7 +152,7 @@  	    ><p class="src"  	    ><a id="v:foo" class="def"  	      >foo</a -	      > :: f <a href="#" +	      > :: f <a href="#" title="Data.Int"  	      >Int</a  	      > -> a -> f a <a href="#" class="selflink"  	      >#</a @@ -156,9 +160,9 @@  	    ><p class="src"  	    ><a id="v:foo-39-" class="def"  	      >foo'</a -	      > :: f (f a) -> <a href="#" +	      > :: f (f a) -> <a href="#" title="Data.Int"  	      >Int</a -	      > -> f (f <a href="#" +	      > -> f (f <a href="#" title="Data.Int"  	      >Int</a  	      >) <a href="#" class="selflink"  	      >#</a @@ -174,7 +178,7 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Foo:Foo:1"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Instances"  		      >Foo</a  		      > []</span  		    > <a href="#" class="selflink" @@ -188,13 +192,17 @@  		  ><details id="i:ic:Foo:Foo:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Instances</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >foo</a -			  > :: [<a href="#" +			  > :: [<a href="#" title="Data.Int"  			  >Int</a  			  >] -> a -> [a] <a href="#" class="selflink"  			  >#</a @@ -202,9 +210,9 @@  			><p class="src"  			><a href="#"  			  >foo'</a -			  > :: [[a]] -> <a href="#" +			  > :: [[a]] -> <a href="#" title="Data.Int"  			  >Int</a -			  > -> [[<a href="#" +			  > -> [[<a href="#" title="Data.Int"  			  >Int</a  			  >]] <a href="#" class="selflink"  			  >#</a @@ -218,9 +226,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Foo:Foo:2"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Instances"  		      >Foo</a -		      > <a href="#" +		      > <a href="#" title="Data.Maybe"  		      >Maybe</a  		      ></span  		    > <a href="#" class="selflink" @@ -234,17 +242,21 @@  		  ><details id="i:ic:Foo:Foo:2"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Instances</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >foo</a -			  > :: <a href="#" +			  > :: <a href="#" title="Data.Maybe"  			  >Maybe</a -			  > <a href="#" +			  > <a href="#" title="Data.Int"  			  >Int</a -			  > -> a -> <a href="#" +			  > -> a -> <a href="#" title="Data.Maybe"  			  >Maybe</a  			  > a <a href="#" class="selflink"  			  >#</a @@ -252,17 +264,17 @@  			><p class="src"  			><a href="#"  			  >foo'</a -			  > :: <a href="#" +			  > :: <a href="#" title="Data.Maybe"  			  >Maybe</a -			  > (<a href="#" +			  > (<a href="#" title="Data.Maybe"  			  >Maybe</a -			  > a) -> <a href="#" +			  > a) -> <a href="#" title="Data.Int"  			  >Int</a -			  > -> <a href="#" +			  > -> <a href="#" title="Data.Maybe"  			  >Maybe</a -			  > (<a href="#" +			  > (<a href="#" title="Data.Maybe"  			  >Maybe</a -			  > <a href="#" +			  > <a href="#" title="Data.Int"  			  >Int</a  			  >) <a href="#" class="selflink"  			  >#</a @@ -276,9 +288,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Foo:Foo:3"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Instances"  		      >Foo</a -		      > (<a href="#" +		      > (<a href="#" title="Data.Either"  		      >Either</a  		      > a)</span  		    > <a href="#" class="selflink" @@ -292,17 +304,21 @@  		  ><details id="i:ic:Foo:Foo:3"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Instances</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >foo</a -			  > :: <a href="#" +			  > :: <a href="#" title="Data.Either"  			  >Either</a -			  > a <a href="#" +			  > a <a href="#" title="Data.Int"  			  >Int</a -			  > -> a0 -> <a href="#" +			  > -> a0 -> <a href="#" title="Data.Either"  			  >Either</a  			  > a a0 <a href="#" class="selflink"  			  >#</a @@ -310,17 +326,17 @@  			><p class="src"  			><a href="#"  			  >foo'</a -			  > :: <a href="#" +			  > :: <a href="#" title="Data.Either"  			  >Either</a -			  > a (<a href="#" +			  > a (<a href="#" title="Data.Either"  			  >Either</a -			  > a a0) -> <a href="#" +			  > a a0) -> <a href="#" title="Data.Int"  			  >Int</a -			  > -> <a href="#" +			  > -> <a href="#" title="Data.Either"  			  >Either</a -			  > a (<a href="#" +			  > a (<a href="#" title="Data.Either"  			  >Either</a -			  > a <a href="#" +			  > a <a href="#" title="Data.Int"  			  >Int</a  			  >) <a href="#" class="selflink"  			  >#</a @@ -334,13 +350,13 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Foo:Foo:4"  		      ></span -		      > (<a href="#" +		      > (<a href="#" title="Data.Eq"  		      >Eq</a -		      > a, <a href="#" +		      > a, <a href="#" title="Instances"  		      >Foo</a -		      > f) => <a href="#" +		      > f) => <a href="#" title="Instances"  		      >Foo</a -		      > (<a href="#" +		      > (<a href="#" title="GHC.Tuple"  		      >(,)</a  		      > (f a))</span  		    > <a href="#" class="selflink" @@ -354,13 +370,17 @@  		  ><details id="i:ic:Foo:Foo:4"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Instances</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >foo</a -			  > :: (f a, <a href="#" +			  > :: (f a, <a href="#" title="Data.Int"  			  >Int</a  			  >) -> a0 -> (f a, a0) <a href="#" class="selflink"  			  >#</a @@ -368,9 +388,9 @@  			><p class="src"  			><a href="#"  			  >foo'</a -			  > :: (f a, (f a, a0)) -> <a href="#" +			  > :: (f a, (f a, a0)) -> <a href="#" title="Data.Int"  			  >Int</a -			  > -> (f a, (f a, <a href="#" +			  > -> (f a, (f a, <a href="#" title="Data.Int"  			  >Int</a  			  >)) <a href="#" class="selflink"  			  >#</a @@ -384,9 +404,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Foo:Foo:5"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Instances"  		      >Foo</a -		      > (<a href="#" +		      > (<a href="#" title="Instances"  		      >(<~~)</a  		      > a)</span  		    > <a href="#" class="selflink" @@ -400,17 +420,21 @@  		  ><details id="i:ic:Foo:Foo:5"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Instances</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >foo</a -			  > :: (a <a href="#" +			  > :: (a <a href="#" title="Instances"  			  ><~~</a -			  > <a href="#" +			  > <a href="#" title="Data.Int"  			  >Int</a -			  >) -> a0 -> a <a href="#" +			  >) -> a0 -> a <a href="#" title="Instances"  			  ><~~</a  			  > a0 <a href="#" class="selflink"  			  >#</a @@ -418,17 +442,17 @@  			><p class="src"  			><a href="#"  			  >foo'</a -			  > :: (a <a href="#" +			  > :: (a <a href="#" title="Instances"  			  ><~~</a -			  > (a <a href="#" +			  > (a <a href="#" title="Instances"  			  ><~~</a -			  > a0)) -> <a href="#" +			  > a0)) -> <a href="#" title="Data.Int"  			  >Int</a -			  > -> a <a href="#" +			  > -> a <a href="#" title="Instances"  			  ><~~</a -			  > (a <a href="#" +			  > (a <a href="#" title="Instances"  			  ><~~</a -			  > <a href="#" +			  > <a href="#" title="Data.Int"  			  >Int</a  			  >) <a href="#" class="selflink"  			  >#</a @@ -442,9 +466,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Foo:Foo:6"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Instances"  		      >Foo</a -		      > (<a href="#" +		      > (<a href="#" title="GHC.Tuple"  		      >(,,)</a  		      > a a)</span  		    > <a href="#" class="selflink" @@ -458,13 +482,17 @@  		  ><details id="i:ic:Foo:Foo:6"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Instances</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >foo</a -			  > :: (a, a, <a href="#" +			  > :: (a, a, <a href="#" title="Data.Int"  			  >Int</a  			  >) -> a0 -> (a, a, a0) <a href="#" class="selflink"  			  >#</a @@ -472,9 +500,9 @@  			><p class="src"  			><a href="#"  			  >foo'</a -			  > :: (a, a, (a, a, a0)) -> <a href="#" +			  > :: (a, a, (a, a, a0)) -> <a href="#" title="Data.Int"  			  >Int</a -			  > -> (a, a, (a, a, <a href="#" +			  > -> (a, a, (a, a, <a href="#" title="Data.Int"  			  >Int</a  			  >)) <a href="#" class="selflink"  			  >#</a @@ -488,9 +516,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Foo:Foo:7"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Instances"  		      >Foo</a -		      > (<a href="#" +		      > (<a href="#" title="Instances"  		      >Quux</a  		      > a b)</span  		    > <a href="#" class="selflink" @@ -504,17 +532,21 @@  		  ><details id="i:ic:Foo:Foo:7"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Instances</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >foo</a -			  > :: <a href="#" +			  > :: <a href="#" title="Instances"  			  >Quux</a -			  > a b <a href="#" +			  > a b <a href="#" title="Data.Int"  			  >Int</a -			  > -> a0 -> <a href="#" +			  > -> a0 -> <a href="#" title="Instances"  			  >Quux</a  			  > a b a0 <a href="#" class="selflink"  			  >#</a @@ -522,17 +554,17 @@  			><p class="src"  			><a href="#"  			  >foo'</a -			  > :: <a href="#" +			  > :: <a href="#" title="Instances"  			  >Quux</a -			  > a b (<a href="#" +			  > a b (<a href="#" title="Instances"  			  >Quux</a -			  > a b a0) -> <a href="#" +			  > a b a0) -> <a href="#" title="Data.Int"  			  >Int</a -			  > -> <a href="#" +			  > -> <a href="#" title="Instances"  			  >Quux</a -			  > a b (<a href="#" +			  > a b (<a href="#" title="Instances"  			  >Quux</a -			  > a b <a href="#" +			  > a b <a href="#" title="Data.Int"  			  >Int</a  			  >) <a href="#" class="selflink"  			  >#</a @@ -546,13 +578,13 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Foo:Foo:8"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Instances"  		      >Foo</a -		      > ((->) <a href="#" -		      >LiftedRep</a -		      > <a href="#" -		      >LiftedRep</a -		      > a)</span +		      > ((->) a :: <a href="#" title="Data.Kind" +		      >*</a +		      > -> <a href="#" title="Data.Kind" +		      >*</a +		      >)</span  		    > <a href="#" class="selflink"  		    >#</a  		    ></td @@ -564,49 +596,29 @@  		  ><details id="i:ic:Foo:Foo:8"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Instances</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >foo</a -			  > :: (<a href="#" -			  >LiftedRep</a -			  > -> <a href="#" -			  >LiftedRep</a -			  >) a <a href="#" +			  > :: (a -> <a href="#" title="Data.Int"  			  >Int</a -			  > -> a0 -> (<a href="#" -			  >LiftedRep</a -			  > -> <a href="#" -			  >LiftedRep</a -			  >) a a0 <a href="#" class="selflink" +			  >) -> a0 -> a -> a0 <a href="#" class="selflink"  			  >#</a  			  ></p  			><p class="src"  			><a href="#"  			  >foo'</a -			  > :: (<a href="#" -			  >LiftedRep</a -			  > -> <a href="#" -			  >LiftedRep</a -			  >) a ((<a href="#" -			  >LiftedRep</a -			  > -> <a href="#" -			  >LiftedRep</a -			  >) a a0) -> <a href="#" +			  > :: (a -> a -> a0) -> <a href="#" title="Data.Int"  			  >Int</a -			  > -> (<a href="#" -			  >LiftedRep</a -			  > -> <a href="#" -			  >LiftedRep</a -			  >) a ((<a href="#" -			  >LiftedRep</a -			  > -> <a href="#" -			  >LiftedRep</a -			  >) a <a href="#" +			  > -> a -> a -> <a href="#" title="Data.Int"  			  >Int</a -			  >) <a href="#" class="selflink" +			  > <a href="#" class="selflink"  			  >#</a  			  ></p  			></div @@ -621,7 +633,7 @@  	><p class="src"  	  ><span class="keyword"  	    >class</span -	    > <a href="#" +	    > <a href="#" title="Instances"  	    >Foo</a  	    > f => <a id="t:Bar" class="def"  	    >Bar</a @@ -636,7 +648,7 @@  	    ><p class="src"  	    ><a id="v:bar" class="def"  	      >bar</a -	      > :: f a -> f <a href="#" +	      > :: f a -> f <a href="#" title="Data.Bool"  	      >Bool</a  	      > -> a <a href="#" class="selflink"  	      >#</a @@ -670,11 +682,11 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Bar:Bar:1"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Instances"  		      >Bar</a -		      > <a href="#" +		      > <a href="#" title="Data.Maybe"  		      >Maybe</a -		      > <a href="#" +		      > <a href="#" title="Data.Bool"  		      >Bool</a  		      ></span  		    > <a href="#" class="selflink" @@ -688,21 +700,25 @@  		  ><details id="i:ic:Bar:Bar:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Instances</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >bar</a -			  > :: <a href="#" +			  > :: <a href="#" title="Data.Maybe"  			  >Maybe</a -			  > <a href="#" +			  > <a href="#" title="Data.Bool"  			  >Bool</a -			  > -> <a href="#" +			  > -> <a href="#" title="Data.Maybe"  			  >Maybe</a -			  > <a href="#" +			  > <a href="#" title="Data.Bool"  			  >Bool</a -			  > -> <a href="#" +			  > -> <a href="#" title="Data.Bool"  			  >Bool</a  			  > <a href="#" class="selflink"  			  >#</a @@ -710,17 +726,17 @@  			><p class="src"  			><a href="#"  			  >bar'</a -			  > :: <a href="#" +			  > :: <a href="#" title="Data.Maybe"  			  >Maybe</a -			  > (<a href="#" +			  > (<a href="#" title="Data.Maybe"  			  >Maybe</a -			  > <a href="#" +			  > <a href="#" title="Data.Bool"  			  >Bool</a -			  >) -> <a href="#" +			  >) -> <a href="#" title="Data.Maybe"  			  >Maybe</a -			  > (<a href="#" +			  > (<a href="#" title="Data.Maybe"  			  >Maybe</a -			  > (<a href="#" +			  > (<a href="#" title="Data.Maybe"  			  >Maybe</a  			  > b)) <a href="#" class="selflink"  			  >#</a @@ -728,17 +744,17 @@  			><p class="src"  			><a href="#"  			  >bar0</a -			  > :: (<a href="#" +			  > :: (<a href="#" title="Data.Maybe"  			  >Maybe</a -			  > <a href="#" +			  > <a href="#" title="Data.Bool"  			  >Bool</a -			  >, <a href="#" +			  >, <a href="#" title="Data.Maybe"  			  >Maybe</a -			  > <a href="#" +			  > <a href="#" title="Data.Bool"  			  >Bool</a -			  >) -> (<a href="#" +			  >) -> (<a href="#" title="Data.Maybe"  			  >Maybe</a -			  > b, <a href="#" +			  > b, <a href="#" title="Data.Maybe"  			  >Maybe</a  			  > c) <a href="#" class="selflink"  			  >#</a @@ -746,17 +762,17 @@  			><p class="src"  			><a href="#"  			  >bar1</a -			  > :: (<a href="#" +			  > :: (<a href="#" title="Data.Maybe"  			  >Maybe</a -			  > <a href="#" +			  > <a href="#" title="Data.Bool"  			  >Bool</a -			  >, <a href="#" +			  >, <a href="#" title="Data.Maybe"  			  >Maybe</a -			  > <a href="#" +			  > <a href="#" title="Data.Bool"  			  >Bool</a -			  >) -> (<a href="#" +			  >) -> (<a href="#" title="Data.Maybe"  			  >Maybe</a -			  > b, <a href="#" +			  > b, <a href="#" title="Data.Maybe"  			  >Maybe</a  			  > c) <a href="#" class="selflink"  			  >#</a @@ -770,9 +786,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Bar:Bar:2"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Instances"  		      >Bar</a -		      > <a href="#" +		      > <a href="#" title="Data.Maybe"  		      >Maybe</a  		      > [a]</span  		    > <a href="#" class="selflink" @@ -786,17 +802,21 @@  		  ><details id="i:ic:Bar:Bar:2"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Instances</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >bar</a -			  > :: <a href="#" +			  > :: <a href="#" title="Data.Maybe"  			  >Maybe</a -			  > [a] -> <a href="#" +			  > [a] -> <a href="#" title="Data.Maybe"  			  >Maybe</a -			  > <a href="#" +			  > <a href="#" title="Data.Bool"  			  >Bool</a  			  > -> [a] <a href="#" class="selflink"  			  >#</a @@ -804,15 +824,15 @@  			><p class="src"  			><a href="#"  			  >bar'</a -			  > :: <a href="#" +			  > :: <a href="#" title="Data.Maybe"  			  >Maybe</a -			  > (<a href="#" +			  > (<a href="#" title="Data.Maybe"  			  >Maybe</a -			  > [a]) -> <a href="#" +			  > [a]) -> <a href="#" title="Data.Maybe"  			  >Maybe</a -			  > (<a href="#" +			  > (<a href="#" title="Data.Maybe"  			  >Maybe</a -			  > (<a href="#" +			  > (<a href="#" title="Data.Maybe"  			  >Maybe</a  			  > b)) <a href="#" class="selflink"  			  >#</a @@ -820,13 +840,13 @@  			><p class="src"  			><a href="#"  			  >bar0</a -			  > :: (<a href="#" +			  > :: (<a href="#" title="Data.Maybe"  			  >Maybe</a -			  > [a], <a href="#" +			  > [a], <a href="#" title="Data.Maybe"  			  >Maybe</a -			  > [a]) -> (<a href="#" +			  > [a]) -> (<a href="#" title="Data.Maybe"  			  >Maybe</a -			  > b, <a href="#" +			  > b, <a href="#" title="Data.Maybe"  			  >Maybe</a  			  > c) <a href="#" class="selflink"  			  >#</a @@ -834,13 +854,13 @@  			><p class="src"  			><a href="#"  			  >bar1</a -			  > :: (<a href="#" +			  > :: (<a href="#" title="Data.Maybe"  			  >Maybe</a -			  > [a], <a href="#" +			  > [a], <a href="#" title="Data.Maybe"  			  >Maybe</a -			  > [a]) -> (<a href="#" +			  > [a]) -> (<a href="#" title="Data.Maybe"  			  >Maybe</a -			  > b, <a href="#" +			  > b, <a href="#" title="Data.Maybe"  			  >Maybe</a  			  > c) <a href="#" class="selflink"  			  >#</a @@ -854,7 +874,7 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Bar:Bar:3"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Instances"  		      >Bar</a  		      > [] (a, a)</span  		    > <a href="#" class="selflink" @@ -868,13 +888,17 @@  		  ><details id="i:ic:Bar:Bar:3"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Instances</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >bar</a -			  > :: [(a, a)] -> [<a href="#" +			  > :: [(a, a)] -> [<a href="#" title="Data.Bool"  			  >Bool</a  			  >] -> (a, a) <a href="#" class="selflink"  			  >#</a @@ -906,11 +930,11 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Bar:Bar:4"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Instances"  		      >Foo</a -		      > f => <a href="#" +		      > f => <a href="#" title="Instances"  		      >Bar</a -		      > (<a href="#" +		      > (<a href="#" title="Data.Either"  		      >Either</a  		      > a) (f a)</span  		    > <a href="#" class="selflink" @@ -924,17 +948,21 @@  		  ><details id="i:ic:Bar:Bar:4"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Instances</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >bar</a -			  > :: <a href="#" +			  > :: <a href="#" title="Data.Either"  			  >Either</a -			  > a (f a) -> <a href="#" +			  > a (f a) -> <a href="#" title="Data.Either"  			  >Either</a -			  > a <a href="#" +			  > a <a href="#" title="Data.Bool"  			  >Bool</a  			  > -> f a <a href="#" class="selflink"  			  >#</a @@ -942,15 +970,15 @@  			><p class="src"  			><a href="#"  			  >bar'</a -			  > :: <a href="#" +			  > :: <a href="#" title="Data.Either"  			  >Either</a -			  > a (<a href="#" +			  > a (<a href="#" title="Data.Either"  			  >Either</a -			  > a (f a)) -> <a href="#" +			  > a (f a)) -> <a href="#" title="Data.Either"  			  >Either</a -			  > a (<a href="#" +			  > a (<a href="#" title="Data.Either"  			  >Either</a -			  > a (<a href="#" +			  > a (<a href="#" title="Data.Either"  			  >Either</a  			  > a b)) <a href="#" class="selflink"  			  >#</a @@ -958,13 +986,13 @@  			><p class="src"  			><a href="#"  			  >bar0</a -			  > :: (<a href="#" +			  > :: (<a href="#" title="Data.Either"  			  >Either</a -			  > a (f a), <a href="#" +			  > a (f a), <a href="#" title="Data.Either"  			  >Either</a -			  > a (f a)) -> (<a href="#" +			  > a (f a)) -> (<a href="#" title="Data.Either"  			  >Either</a -			  > a b, <a href="#" +			  > a b, <a href="#" title="Data.Either"  			  >Either</a  			  > a c) <a href="#" class="selflink"  			  >#</a @@ -972,13 +1000,13 @@  			><p class="src"  			><a href="#"  			  >bar1</a -			  > :: (<a href="#" +			  > :: (<a href="#" title="Data.Either"  			  >Either</a -			  > a (f a), <a href="#" +			  > a (f a), <a href="#" title="Data.Either"  			  >Either</a -			  > a (f a)) -> (<a href="#" +			  > a (f a)) -> (<a href="#" title="Data.Either"  			  >Either</a -			  > a b, <a href="#" +			  > a b, <a href="#" title="Data.Either"  			  >Either</a  			  > a c) <a href="#" class="selflink"  			  >#</a @@ -992,13 +1020,13 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Bar:Bar:5"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Instances"  		      >Foo</a -		      > (<a href="#" +		      > (<a href="#" title="GHC.Tuple"  		      >(,,)</a -		      > a b) => <a href="#" +		      > a b) => <a href="#" title="Instances"  		      >Bar</a -		      > (<a href="#" +		      > (<a href="#" title="GHC.Tuple"  		      >(,,)</a  		      > a b) (a, b, a)</span  		    > <a href="#" class="selflink" @@ -1012,13 +1040,17 @@  		  ><details id="i:ic:Bar:Bar:5"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Instances</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >bar</a -			  > :: (a, b, (a, b, a)) -> (a, b, <a href="#" +			  > :: (a, b, (a, b, a)) -> (a, b, <a href="#" title="Data.Bool"  			  >Bool</a  			  >) -> (a, b, a) <a href="#" class="selflink"  			  >#</a @@ -1050,11 +1082,11 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Bar:Bar:6"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Instances"  		      >Bar</a -		      > (<a href="#" +		      > (<a href="#" title="Instances"  		      >Quux</a -		      > a c) (<a href="#" +		      > a c) (<a href="#" title="Instances"  		      >Quux</a  		      > a b c)</span  		    > <a href="#" class="selflink" @@ -1068,21 +1100,25 @@  		  ><details id="i:ic:Bar:Bar:6"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Instances</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >bar</a -			  > :: <a href="#" +			  > :: <a href="#" title="Instances"  			  >Quux</a -			  > a c (<a href="#" +			  > a c (<a href="#" title="Instances"  			  >Quux</a -			  > a b c) -> <a href="#" +			  > a b c) -> <a href="#" title="Instances"  			  >Quux</a -			  > a c <a href="#" +			  > a c <a href="#" title="Data.Bool"  			  >Bool</a -			  > -> <a href="#" +			  > -> <a href="#" title="Instances"  			  >Quux</a  			  > a b c <a href="#" class="selflink"  			  >#</a @@ -1090,17 +1126,17 @@  			><p class="src"  			><a href="#"  			  >bar'</a -			  > :: <a href="#" +			  > :: <a href="#" title="Instances"  			  >Quux</a -			  > a c (<a href="#" +			  > a c (<a href="#" title="Instances"  			  >Quux</a -			  > a c (<a href="#" +			  > a c (<a href="#" title="Instances"  			  >Quux</a -			  > a b c)) -> <a href="#" +			  > a b c)) -> <a href="#" title="Instances"  			  >Quux</a -			  > a c (<a href="#" +			  > a c (<a href="#" title="Instances"  			  >Quux</a -			  > a c (<a href="#" +			  > a c (<a href="#" title="Instances"  			  >Quux</a  			  > a c b0)) <a href="#" class="selflink"  			  >#</a @@ -1108,17 +1144,17 @@  			><p class="src"  			><a href="#"  			  >bar0</a -			  > :: (<a href="#" +			  > :: (<a href="#" title="Instances"  			  >Quux</a -			  > a c (<a href="#" +			  > a c (<a href="#" title="Instances"  			  >Quux</a -			  > a b c), <a href="#" +			  > a b c), <a href="#" title="Instances"  			  >Quux</a -			  > a c (<a href="#" +			  > a c (<a href="#" title="Instances"  			  >Quux</a -			  > a b c)) -> (<a href="#" +			  > a b c)) -> (<a href="#" title="Instances"  			  >Quux</a -			  > a c b0, <a href="#" +			  > a c b0, <a href="#" title="Instances"  			  >Quux</a  			  > a c c0) <a href="#" class="selflink"  			  >#</a @@ -1126,17 +1162,17 @@  			><p class="src"  			><a href="#"  			  >bar1</a -			  > :: (<a href="#" +			  > :: (<a href="#" title="Instances"  			  >Quux</a -			  > a c (<a href="#" +			  > a c (<a href="#" title="Instances"  			  >Quux</a -			  > a b c), <a href="#" +			  > a b c), <a href="#" title="Instances"  			  >Quux</a -			  > a c (<a href="#" +			  > a c (<a href="#" title="Instances"  			  >Quux</a -			  > a b c)) -> (<a href="#" +			  > a b c)) -> (<a href="#" title="Instances"  			  >Quux</a -			  > a c b0, <a href="#" +			  > a c b0, <a href="#" title="Instances"  			  >Quux</a  			  > a c c0) <a href="#" class="selflink"  			  >#</a @@ -1206,7 +1242,7 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Baz:Baz:1"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Instances"  		      >Baz</a  		      > [c]</span  		    > <a href="#" class="selflink" @@ -1220,7 +1256,11 @@  		  ><details id="i:ic:Baz:Baz:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Instances</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src" @@ -1264,7 +1304,7 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Baz:Baz:2"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Instances"  		      >Baz</a  		      > (a -> b)</span  		    > <a href="#" class="selflink" @@ -1278,7 +1318,11 @@  		  ><details id="i:ic:Baz:Baz:2"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Instances</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src" @@ -1322,7 +1366,7 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Baz:Baz:3"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Instances"  		      >Baz</a  		      > (a, b, c)</span  		    > <a href="#" class="selflink" @@ -1336,7 +1380,11 @@  		  ><details id="i:ic:Baz:Baz:3"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Instances</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src" @@ -1380,9 +1428,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Baz:Baz:4"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Instances"  		      >Baz</a -		      > (<a href="#" +		      > (<a href="#" title="Instances"  		      >Quux</a  		      > a b c)</span  		    > <a href="#" class="selflink" @@ -1396,19 +1444,23 @@  		  ><details id="i:ic:Baz:Baz:4"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Instances</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >baz</a -			  > :: <a href="#" +			  > :: <a href="#" title="Instances"  			  >Quux</a  			  > a b c -> (<span class="keyword"  			  >forall</span  			  > a0. a0 -> a0) -> (b0, <span class="keyword"  			  >forall</span -			  > c0. c0 -> <a href="#" +			  > c0. c0 -> <a href="#" title="Instances"  			  >Quux</a  			  > a b c) -> (b0, c1) <a href="#" class="selflink"  			  >#</a @@ -1418,13 +1470,13 @@  			  >baz'</a  			  > :: b0 -> (<span class="keyword"  			  >forall</span -			  > b1. b1 -> <a href="#" +			  > b1. b1 -> <a href="#" title="Instances"  			  >Quux</a  			  > a b c) -> (<span class="keyword"  			  >forall</span -			  > b2. b2 -> <a href="#" +			  > b2. b2 -> <a href="#" title="Instances"  			  >Quux</a -			  > a b c) -> [(b0, <a href="#" +			  > a b c) -> [(b0, <a href="#" title="Instances"  			  >Quux</a  			  > a b c)] <a href="#" class="selflink"  			  >#</a @@ -1436,7 +1488,7 @@  			  >forall</span  			  > b1. (<span class="keyword"  			  >forall</span -			  > b2. b2 -> <a href="#" +			  > b2. b2 -> <a href="#" title="Instances"  			  >Quux</a  			  > a b c) -> c0) -> <span class="keyword"  			  >forall</span @@ -1452,7 +1504,7 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Baz:Baz:5"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Instances"  		      >Baz</a  		      > (a, [b], b, a)</span  		    > <a href="#" class="selflink" @@ -1466,7 +1518,11 @@  		  ><details id="i:ic:Baz:Baz:5"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Instances</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src" @@ -1558,9 +1614,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:id:Quux:Foo:1"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Instances"  		      >Foo</a -		      > (<a href="#" +		      > (<a href="#" title="Instances"  		      >Quux</a  		      > a b)</span  		    > <a href="#" class="selflink" @@ -1574,17 +1630,21 @@  		  ><details id="i:id:Quux:Foo:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Instances</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >foo</a -			  > :: <a href="#" +			  > :: <a href="#" title="Instances"  			  >Quux</a -			  > a b <a href="#" +			  > a b <a href="#" title="Data.Int"  			  >Int</a -			  > -> a0 -> <a href="#" +			  > -> a0 -> <a href="#" title="Instances"  			  >Quux</a  			  > a b a0 <a href="#" class="selflink"  			  >#</a @@ -1592,17 +1652,17 @@  			><p class="src"  			><a href="#"  			  >foo'</a -			  > :: <a href="#" +			  > :: <a href="#" title="Instances"  			  >Quux</a -			  > a b (<a href="#" +			  > a b (<a href="#" title="Instances"  			  >Quux</a -			  > a b a0) -> <a href="#" +			  > a b a0) -> <a href="#" title="Data.Int"  			  >Int</a -			  > -> <a href="#" +			  > -> <a href="#" title="Instances"  			  >Quux</a -			  > a b (<a href="#" +			  > a b (<a href="#" title="Instances"  			  >Quux</a -			  > a b <a href="#" +			  > a b <a href="#" title="Data.Int"  			  >Int</a  			  >) <a href="#" class="selflink"  			  >#</a @@ -1616,11 +1676,11 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:id:Quux:Bar:2"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Instances"  		      >Bar</a -		      > (<a href="#" +		      > (<a href="#" title="Instances"  		      >Quux</a -		      > a c) (<a href="#" +		      > a c) (<a href="#" title="Instances"  		      >Quux</a  		      > a b c)</span  		    > <a href="#" class="selflink" @@ -1634,21 +1694,25 @@  		  ><details id="i:id:Quux:Bar:2"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Instances</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >bar</a -			  > :: <a href="#" +			  > :: <a href="#" title="Instances"  			  >Quux</a -			  > a c (<a href="#" +			  > a c (<a href="#" title="Instances"  			  >Quux</a -			  > a b c) -> <a href="#" +			  > a b c) -> <a href="#" title="Instances"  			  >Quux</a -			  > a c <a href="#" +			  > a c <a href="#" title="Data.Bool"  			  >Bool</a -			  > -> <a href="#" +			  > -> <a href="#" title="Instances"  			  >Quux</a  			  > a b c <a href="#" class="selflink"  			  >#</a @@ -1656,17 +1720,17 @@  			><p class="src"  			><a href="#"  			  >bar'</a -			  > :: <a href="#" +			  > :: <a href="#" title="Instances"  			  >Quux</a -			  > a c (<a href="#" +			  > a c (<a href="#" title="Instances"  			  >Quux</a -			  > a c (<a href="#" +			  > a c (<a href="#" title="Instances"  			  >Quux</a -			  > a b c)) -> <a href="#" +			  > a b c)) -> <a href="#" title="Instances"  			  >Quux</a -			  > a c (<a href="#" +			  > a c (<a href="#" title="Instances"  			  >Quux</a -			  > a c (<a href="#" +			  > a c (<a href="#" title="Instances"  			  >Quux</a  			  > a c b0)) <a href="#" class="selflink"  			  >#</a @@ -1674,17 +1738,17 @@  			><p class="src"  			><a href="#"  			  >bar0</a -			  > :: (<a href="#" +			  > :: (<a href="#" title="Instances"  			  >Quux</a -			  > a c (<a href="#" +			  > a c (<a href="#" title="Instances"  			  >Quux</a -			  > a b c), <a href="#" +			  > a b c), <a href="#" title="Instances"  			  >Quux</a -			  > a c (<a href="#" +			  > a c (<a href="#" title="Instances"  			  >Quux</a -			  > a b c)) -> (<a href="#" +			  > a b c)) -> (<a href="#" title="Instances"  			  >Quux</a -			  > a c b0, <a href="#" +			  > a c b0, <a href="#" title="Instances"  			  >Quux</a  			  > a c c0) <a href="#" class="selflink"  			  >#</a @@ -1692,17 +1756,17 @@  			><p class="src"  			><a href="#"  			  >bar1</a -			  > :: (<a href="#" +			  > :: (<a href="#" title="Instances"  			  >Quux</a -			  > a c (<a href="#" +			  > a c (<a href="#" title="Instances"  			  >Quux</a -			  > a b c), <a href="#" +			  > a b c), <a href="#" title="Instances"  			  >Quux</a -			  > a c (<a href="#" +			  > a c (<a href="#" title="Instances"  			  >Quux</a -			  > a b c)) -> (<a href="#" +			  > a b c)) -> (<a href="#" title="Instances"  			  >Quux</a -			  > a c b0, <a href="#" +			  > a c b0, <a href="#" title="Instances"  			  >Quux</a  			  > a c c0) <a href="#" class="selflink"  			  >#</a @@ -1716,9 +1780,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:id:Quux:Baz:3"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Instances"  		      >Baz</a -		      > (<a href="#" +		      > (<a href="#" title="Instances"  		      >Quux</a  		      > a b c)</span  		    > <a href="#" class="selflink" @@ -1732,19 +1796,23 @@  		  ><details id="i:id:Quux:Baz:3"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Instances</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >baz</a -			  > :: <a href="#" +			  > :: <a href="#" title="Instances"  			  >Quux</a  			  > a b c -> (<span class="keyword"  			  >forall</span  			  > a0. a0 -> a0) -> (b0, <span class="keyword"  			  >forall</span -			  > c0. c0 -> <a href="#" +			  > c0. c0 -> <a href="#" title="Instances"  			  >Quux</a  			  > a b c) -> (b0, c1) <a href="#" class="selflink"  			  >#</a @@ -1754,13 +1822,13 @@  			  >baz'</a  			  > :: b0 -> (<span class="keyword"  			  >forall</span -			  > b1. b1 -> <a href="#" +			  > b1. b1 -> <a href="#" title="Instances"  			  >Quux</a  			  > a b c) -> (<span class="keyword"  			  >forall</span -			  > b2. b2 -> <a href="#" +			  > b2. b2 -> <a href="#" title="Instances"  			  >Quux</a -			  > a b c) -> [(b0, <a href="#" +			  > a b c) -> [(b0, <a href="#" title="Instances"  			  >Quux</a  			  > a b c)] <a href="#" class="selflink"  			  >#</a @@ -1772,7 +1840,7 @@  			  >forall</span  			  > b1. (<span class="keyword"  			  >forall</span -			  > b2. b2 -> <a href="#" +			  > b2. b2 -> <a href="#" title="Instances"  			  >Quux</a  			  > a b c) -> c0) -> <span class="keyword"  			  >forall</span @@ -1790,11 +1858,11 @@  		      ></span  		      > <span class="keyword"  		      >data</span -		      > <a href="#" +		      > <a href="#" title="Instances"  		      >Thud</a -		      > <a href="#" +		      > <a href="#" title="Data.Int"  		      >Int</a -		      > (<a href="#" +		      > (<a href="#" title="Instances"  		      >Quux</a  		      > a [a] c)</span  		    > <a href="#" class="selflink" @@ -1808,14 +1876,18 @@  		  ><details id="i:id:Quux:Thud:4"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>Instances</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>data</span -			> <a href="#" +			> <a href="#" title="Instances"  			>Thud</a -			> <a href="#" +			> <a href="#" title="Data.Int"  			>Int</a -			> (<a href="#" +			> (<a href="#" title="Instances"  			>Quux</a  			> a [a] c) <ul class="inst"  			><li class="inst" @@ -1825,9 +1897,9 @@  			  ><li class="inst"  			  >| <a id="v:Thuuud" class="def"  			    >Thuuud</a -			    > <a href="#" +			    > <a href="#" title="Data.Int"  			    >Int</a -			    > <a href="#" +			    > <a href="#" title="Data.Int"  			    >Int</a  			    ></li  			  ></ul @@ -1876,7 +1948,7 @@  	    ><p class="src"  	    ><a id="v:norf" class="def"  	      >norf</a -	      > :: <a href="#" +	      > :: <a href="#" title="Instances"  	      >Plugh</a  	      > a c b -> a -> (a -> c) -> b <a href="#" class="selflink"  	      >#</a @@ -1892,11 +1964,11 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Norf:Norf:1"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Instances"  		      >Norf</a -		      > <a href="#" +		      > <a href="#" title="Data.Int"  		      >Int</a -		      > <a href="#" +		      > <a href="#" title="Data.Bool"  		      >Bool</a  		      ></span  		    > <a href="#" class="selflink" @@ -1910,19 +1982,23 @@  		  ><details id="i:ic:Norf:Norf:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs associated-types" +		      ><p +		      >Defined in <a href="#" +			>Instances</a +			></p +		      > <div class="subs associated-types"  		      ><p class="caption"  			>Associated Types</p  			><p class="src"  			><span class="keyword"  			  >type</span -			  > <a href="#" +			  > <a href="#" title="Instances"  			  >Plugh</a -			  > <a href="#" +			  > <a href="#" title="Data.Int"  			  >Int</a -			  > c <a href="#" +			  > c <a href="#" title="Data.Bool"  			  >Bool</a -			  > :: <a href="#" +			  > :: <a href="#" title="Data.Kind"  			  >*</a  			  > <a href="#" class="selflink"  			  >#</a @@ -1930,11 +2006,11 @@  			><p class="src"  			><span class="keyword"  			  >data</span -			  > <a href="#" +			  > <a href="#" title="Instances"  			  >Thud</a -			  > <a href="#" +			  > <a href="#" title="Data.Int"  			  >Int</a -			  > c :: <a href="#" +			  > c :: <a href="#" title="Data.Kind"  			  >*</a  			  > <a href="#" class="selflink"  			  >#</a @@ -1946,17 +2022,17 @@  			><p class="src"  			><a href="#"  			  >norf</a -			  > :: <a href="#" +			  > :: <a href="#" title="Instances"  			  >Plugh</a -			  > <a href="#" +			  > <a href="#" title="Data.Int"  			  >Int</a -			  > c <a href="#" +			  > c <a href="#" title="Data.Bool"  			  >Bool</a -			  > -> <a href="#" +			  > -> <a href="#" title="Data.Int"  			  >Int</a -			  > -> (<a href="#" +			  > -> (<a href="#" title="Data.Int"  			  >Int</a -			  > -> c) -> <a href="#" +			  > -> c) -> <a href="#" title="Data.Bool"  			  >Bool</a  			  > <a href="#" class="selflink"  			  >#</a @@ -1970,7 +2046,7 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Norf:Norf:2"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Instances"  		      >Norf</a  		      > [a] [b]</span  		    > <a href="#" class="selflink" @@ -1984,15 +2060,19 @@  		  ><details id="i:ic:Norf:Norf:2"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs associated-types" +		      ><p +		      >Defined in <a href="#" +			>Instances</a +			></p +		      > <div class="subs associated-types"  		      ><p class="caption"  			>Associated Types</p  			><p class="src"  			><span class="keyword"  			  >type</span -			  > <a href="#" +			  > <a href="#" title="Instances"  			  >Plugh</a -			  > [a] c [b] :: <a href="#" +			  > [a] c [b] :: <a href="#" title="Data.Kind"  			  >*</a  			  > <a href="#" class="selflink"  			  >#</a @@ -2000,9 +2080,9 @@  			><p class="src"  			><span class="keyword"  			  >data</span -			  > <a href="#" +			  > <a href="#" title="Instances"  			  >Thud</a -			  > [a] c :: <a href="#" +			  > [a] c :: <a href="#" title="Data.Kind"  			  >*</a  			  > <a href="#" class="selflink"  			  >#</a @@ -2014,7 +2094,7 @@  			><p class="src"  			><a href="#"  			  >norf</a -			  > :: <a href="#" +			  > :: <a href="#" title="Instances"  			  >Plugh</a  			  > [a] c [b] -> [a] -> ([a] -> c) -> [b] <a href="#" class="selflink"  			  >#</a diff --git a/html-test/ref/Math.html b/html-test/ref/Math.html index 33ac0239..71079bdd 100644 --- a/html-test/ref/Math.html +++ b/html-test/ref/Math.html @@ -62,7 +62,7 @@  	  ><li class="src short"  	    ><a href="#"  	      >f</a -	      > :: <a href="#" +	      > :: <a href="#" title="Prelude"  	      >Integer</a  	      ></li  	    ></ul @@ -75,7 +75,7 @@  	><p class="src"  	  ><a id="v:f" class="def"  	    >f</a -	    > :: <a href="#" +	    > :: <a href="#" title="Prelude"  	    >Integer</a  	    > <a href="#" class="selflink"  	    >#</a diff --git a/html-test/ref/Minimal.html b/html-test/ref/Minimal.html index d7797a06..5fe252ba 100644 --- a/html-test/ref/Minimal.html +++ b/html-test/ref/Minimal.html @@ -64,19 +64,19 @@  	  ><p class="caption"  	    >Minimal complete definition</p  	    ><p class="src" -	    ><a href="#" +	    ><a href="#" title="Minimal"  	      >foo</a -	      >, <a href="#" +	      >, <a href="#" title="Minimal"  	      >bar</a -	      > | <a href="#" +	      > | <a href="#" title="Minimal"  	      >bar</a -	      >, <a href="#" +	      >, <a href="#" title="Minimal"  	      >bat</a -	      > | <a href="#" +	      > | <a href="#" title="Minimal"  	      >foo</a -	      >, <a href="#" +	      >, <a href="#" title="Minimal"  	      >bat</a -	      > | <a href="#" +	      > | <a href="#" title="Minimal"  	      >fooBarBat</a  	      ></p  	    ></div @@ -190,9 +190,9 @@  	  ><p class="caption"  	    >Minimal complete definition</p  	    ><p class="src" -	    ><a href="#" +	    ><a href="#" title="Minimal"  	      >x</a -	      >, <a href="#" +	      >, <a href="#" title="Minimal"  	      >y</a  	      ></p  	    ></div @@ -234,9 +234,9 @@  	  ><p class="caption"  	    >Minimal complete definition</p  	    ><p class="src" -	    ><a href="#" +	    ><a href="#" title="Minimal"  	      >aaa</a -	      >, <a href="#" +	      >, <a href="#" title="Minimal"  	      >bbb</a  	      ></p  	    ></div @@ -272,7 +272,7 @@  	  ><p class="caption"  	    >Minimal complete definition</p  	    ><p class="src" -	    ><a href="#" +	    ><a href="#" title="Minimal"  	      >ccc</a  	      >, ddd</p  	    ></div diff --git a/html-test/ref/ModuleWithWarning.html b/html-test/ref/ModuleWithWarning.html index 12d98122..7a045575 100644 --- a/html-test/ref/ModuleWithWarning.html +++ b/html-test/ref/ModuleWithWarning.html @@ -61,7 +61,7 @@  	><p class="src"  	  ><a id="v:foo" class="def"  	    >foo</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a diff --git a/html-test/ref/NoLayout.html b/html-test/ref/NoLayout.html index 607b5f8d..a92d1a34 100644 --- a/html-test/ref/NoLayout.html +++ b/html-test/ref/NoLayout.html @@ -46,7 +46,7 @@  	  ><li class="src short"  	    ><a href="#"  	      >g</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ></ul @@ -59,7 +59,7 @@  	><p class="src"  	  ><a id="v:g" class="def"  	    >g</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a @@ -67,7 +67,7 @@  	  ><div class="doc"  	  ><p  	    >the function <code -	      ><a href="#" +	      ><a href="#" title="NoLayout"  		>g</a  		></code  	      ></p diff --git a/html-test/ref/Operators.html b/html-test/ref/Operators.html index 1db0a91a..075affab 100644 --- a/html-test/ref/Operators.html +++ b/html-test/ref/Operators.html @@ -70,19 +70,19 @@  	      >Foo</a  	      ><ul class="subs"  	      ><li -		>= <a href="#" +		>= <a href="#" title="Operators"  		  >Foo</a  		  > <a href="#"  		  >`Bar`</a -		  > <a href="#" +		  > <a href="#" title="Operators"  		  >Foo</a  		  ></li  		><li -		>| <a href="#" +		>| <a href="#" title="Operators"  		  >Foo</a  		  > <a href="#"  		  >:-</a -		  > <a href="#" +		  > <a href="#" title="Operators"  		  >Foo</a  		  ></li  		></ul @@ -106,7 +106,7 @@  	      ><li  		><a href="#"  		  >(:<->)</a -		  > :: a -> b -> a <a href="#" +		  > :: a -> b -> a <a href="#" title="Operators"  		  ><-></a  		  > b</li  		></ul @@ -136,7 +136,7 @@  		  >type</span  		  > a <a href="#"  		  ><><</a -		  > b :: <a href="#" +		  > b :: <a href="#" title="Data.Kind"  		  >*</a  		  ></li  		><li @@ -152,7 +152,7 @@  	      >type</span  	      > <a href="#"  	      >(>-<)</a -	      > a b = a <a href="#" +	      > a b = a <a href="#" title="Operators"  	      ><-></a  	      > b</li  	    ></ul @@ -224,11 +224,11 @@  	    ><table  	    ><tr  	      ><td class="src" -		><a href="#" +		><a href="#" title="Operators"  		  >Foo</a  		  > <a id="v:Bar" class="def"  		  >`Bar`</a -		  > <a href="#" +		  > <a href="#" title="Operators"  		  >Foo</a  		  > <span class="fixity"  		  >infixl 3</span @@ -242,11 +242,11 @@  		></tr  	      ><tr  	      ><td class="src" -		><a href="#" +		><a href="#" title="Operators"  		  >Foo</a  		  > <a id="v::-45-" class="def"  		  >:-</a -		  > <a href="#" +		  > <a href="#" title="Operators"  		  >Foo</a  		  > <span class="fixity"  		  >infixr 5</span @@ -308,7 +308,7 @@  	      ><td class="src"  		><a id="v::-60--45--62-" class="def"  		  >(:<->)</a -		  > :: a -> b -> a <a href="#" +		  > :: a -> b -> a <a href="#" title="Operators"  		  ><-></a  		  > b <span class="fixity"  		  >infixr 6</span @@ -380,17 +380,17 @@  	  ><p class="caption"  	    >Minimal complete definition</p  	    ><p class="src" -	    ><a href="#" +	    ><a href="#" title="Operators"  	      >(>><)</a -	      >, <a href="#" +	      >, <a href="#" title="Operators"  	      >(<<>)</a -	      >, <a href="#" +	      >, <a href="#" title="Operators"  	      >(**>)</a -	      >, <a href="#" +	      >, <a href="#" title="Operators"  	      >(**<)</a -	      >, <a href="#" +	      >, <a href="#" title="Operators"  	      >(>**)</a -	      >, <a href="#" +	      >, <a href="#" title="Operators"  	      >(<**)</a  	      ></p  	    ></div @@ -402,7 +402,7 @@  	      >type</span  	      > a <a id="t:-60--62--60-" class="def"  	      ><><</a -	      > b :: <a href="#" +	      > b :: <a href="#" title="Data.Kind"  	      >*</a  	      > <span class="fixity"  	      >infixl 2</span @@ -511,7 +511,7 @@  	    >type</span  	    > <a id="t:-62--45--60-" class="def"  	    >(>-<)</a -	    > a b = a <a href="#" +	    > a b = a <a href="#" title="Operators"  	    ><-></a  	    > b <span class="fixity"  	    >infixl 6</span diff --git a/html-test/ref/OrphanInstances.html b/html-test/ref/OrphanInstances.html index b7fa346c..16ac16d6 100644 --- a/html-test/ref/OrphanInstances.html +++ b/html-test/ref/OrphanInstances.html @@ -48,18 +48,8 @@  	    ></li  	  ></ul  	></div -      ><div id="synopsis" -      ><details id="syn" -	><summary -	  >Synopsis</summary -	  ><ul class="details-toggle" data-details-id="syn" -	  ></ul -	  ></details -	></div        ><div id="interface"        ><h1 -	>Documentation</h1 -	><h1  	>Orphan instances</h1  	><div id="section.orphans"  	><table @@ -68,9 +58,9 @@  	      ><span class="inst-left"  		><span class="instance details-toggle-control details-toggle" data-details-id="i:o:ic:AClass:AClass:1"  		  ></span -		  > <a href="#" +		  > <a href="#" title="OrphanInstancesClass"  		  >AClass</a -		  > <a href="#" +		  > <a href="#" title="OrphanInstancesType"  		  >AType</a  		  ></span  		> <a href="#" class="selflink" @@ -86,15 +76,17 @@  	      ><details id="i:o:ic:AClass:AClass:1"  		><summary class="hide-when-js-enabled"  		  >Instance details</summary -		  ><div class="subs methods" +		  ><p +		  ></p +		  > <div class="subs methods"  		  ><p class="caption"  		    >Methods</p  		    ><p class="src"  		    ><a href="#"  		      >aClass</a -		      > :: <a href="#" +		      > :: <a href="#" title="OrphanInstancesType"  		      >AType</a -		      > -> <a href="#" +		      > -> <a href="#" title="Data.Int"  		      >Int</a  		      > <a href="#" class="selflink"  		      >#</a diff --git a/html-test/ref/OrphanInstancesClass.html b/html-test/ref/OrphanInstancesClass.html index 1fc2f112..7b7085ea 100644 --- a/html-test/ref/OrphanInstancesClass.html +++ b/html-test/ref/OrphanInstancesClass.html @@ -56,7 +56,7 @@  	  ><p class="caption"  	    >Minimal complete definition</p  	    ><p class="src" -	    ><a href="#" +	    ><a href="#" title="OrphanInstancesClass"  	      >aClass</a  	      ></p  	    ></div @@ -66,12 +66,64 @@  	    ><p class="src"  	    ><a id="v:aClass" class="def"  	      >aClass</a -	      > :: a -> <a href="#" +	      > :: a -> <a href="#" title="Data.Int"  	      >Int</a  	      > <a href="#" class="selflink"  	      >#</a  	      ></p  	    ></div +	  ><div class="subs instances" +	  ><details id="i:AClass" open="open" +	    ><summary +	      >Instances</summary +	      ><table +	      ><tr +		><td class="src clearfix" +		  ><span class="inst-left" +		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:AClass:AClass:1" +		      ></span +		      > <a href="#" title="OrphanInstancesClass" +		      >AClass</a +		      > <a href="#" title="OrphanInstancesType" +		      >AType</a +		      ></span +		    > <a href="#" class="selflink" +		    >#</a +		    ></td +		  ><td class="doc" +		  ><p +		    >This is an orphan instance.</p +		    ></td +		  ></tr +		><tr +		><td colspan="2" +		  ><details id="i:ic:AClass:AClass:1" +		    ><summary class="hide-when-js-enabled" +		      >Instance details</summary +		      ><p +		      >Defined in <a href="#" +			>OrphanInstances</a +			></p +		      > <div class="subs methods" +		      ><p class="caption" +			>Methods</p +			><p class="src" +			><a href="#" +			  >aClass</a +			  > :: <a href="#" title="OrphanInstancesType" +			  >AType</a +			  > -> <a href="#" title="Data.Int" +			  >Int</a +			  > <a href="#" class="selflink" +			  >#</a +			  ></p +			></div +		      ></details +		    ></td +		  ></tr +		></table +	      ></details +	    ></div  	  ></div  	></div        ></div diff --git a/html-test/ref/OrphanInstancesType.html b/html-test/ref/OrphanInstancesType.html index d5998efe..ddb85534 100644 --- a/html-test/ref/OrphanInstancesType.html +++ b/html-test/ref/OrphanInstancesType.html @@ -58,7 +58,7 @@  	      ><td class="src"  		><a id="v:AType" class="def"  		  >AType</a -		  > <a href="#" +		  > <a href="#" title="Data.Int"  		  >Int</a  		  ></td  		><td class="doc empty" @@ -66,6 +66,58 @@  		></tr  	      ></table  	    ></div +	  ><div class="subs instances" +	  ><details id="i:AType" open="open" +	    ><summary +	      >Instances</summary +	      ><table +	      ><tr +		><td class="src clearfix" +		  ><span class="inst-left" +		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:id:AType:AClass:1" +		      ></span +		      > <a href="#" title="OrphanInstancesClass" +		      >AClass</a +		      > <a href="#" title="OrphanInstancesType" +		      >AType</a +		      ></span +		    > <a href="#" class="selflink" +		    >#</a +		    ></td +		  ><td class="doc" +		  ><p +		    >This is an orphan instance.</p +		    ></td +		  ></tr +		><tr +		><td colspan="2" +		  ><details id="i:id:AType:AClass:1" +		    ><summary class="hide-when-js-enabled" +		      >Instance details</summary +		      ><p +		      >Defined in <a href="#" +			>OrphanInstances</a +			></p +		      > <div class="subs methods" +		      ><p class="caption" +			>Methods</p +			><p class="src" +			><a href="#" +			  >aClass</a +			  > :: <a href="#" title="OrphanInstancesType" +			  >AType</a +			  > -> <a href="#" title="Data.Int" +			  >Int</a +			  > <a href="#" class="selflink" +			  >#</a +			  ></p +			></div +		      ></details +		    ></td +		  ></tr +		></table +	      ></details +	    ></div  	  ></div  	></div        ></div diff --git a/html-test/ref/PatternSyns.html b/html-test/ref/PatternSyns.html index bf0cdf1e..ff6144cf 100644 --- a/html-test/ref/PatternSyns.html +++ b/html-test/ref/PatternSyns.html @@ -66,7 +66,7 @@  	      >Foo</a  	      > :: <span class="keyword"  	      >forall</span -	      > x. x -> <a href="#" +	      > x. x -> <a href="#" title="PatternSyns"  	      >FooType</a  	      > x</li  	    ><li class="src short" @@ -76,9 +76,9 @@  	      >Bar</a  	      > :: <span class="keyword"  	      >forall</span -	      > x. x -> <a href="#" +	      > x. x -> <a href="#" title="PatternSyns"  	      >FooType</a -	      > (<a href="#" +	      > (<a href="#" title="PatternSyns"  	      >FooType</a  	      > x)</li  	    ><li class="src short" @@ -88,11 +88,11 @@  	      >(:<->)</a  	      > :: <span class="keyword"  	      >forall</span -	      > x x1. x -> x1 -> (<a href="#" +	      > x x1. x -> x1 -> (<a href="#" title="PatternSyns"  	      >FooType</a -	      > x, <a href="#" +	      > x, <a href="#" title="PatternSyns"  	      >FooType</a -	      > (<a href="#" +	      > (<a href="#" title="PatternSyns"  	      >FooType</a  	      > x1))</li  	    ><li class="src short" @@ -100,7 +100,7 @@  	      >data</span  	      > <a href="#"  	      >BlubType</a -	      > = <a href="#" +	      > = <a href="#" title="Text.Show"  	      >Show</a  	      > x => <a href="#"  	      >BlubCtor</a @@ -112,15 +112,15 @@  	      >Blub</a  	      > :: () => <span class="keyword"  	      >forall</span -	      > x. <a href="#" +	      > x. <a href="#" title="Text.Show"  	      >Show</a -	      > x => x -> <a href="#" +	      > x => x -> <a href="#" title="PatternSyns"  	      >BlubType</a  	      ></li  	    ><li class="src short"  	    ><span class="keyword"  	      >data</span -	      > (a :: <a href="#" +	      > (a :: <a href="#" title="Data.Kind"  	      >*</a  	      >) <a href="#"  	      >><</a @@ -134,17 +134,17 @@  	      >E</a  	      > :: <span class="keyword"  	      >forall</span -	      > k a (b :: k). <a href="#" -	      >(><)</a -	      > k a b</li +	      > k a (b :: k). a <a href="#" title="PatternSyns" +	      >><</a +	      > b</li  	    ><li class="src short"  	    ><span class="keyword"  	      >pattern</span  	      > <a href="#"  	      >PatWithExplicitSig</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Eq"  	      >Eq</a -	      > somex => somex -> <a href="#" +	      > somex => somex -> <a href="#" title="PatternSyns"  	      >FooType</a  	      > somex</li  	    ></ul @@ -189,7 +189,7 @@  	    >Foo</a  	    > :: <span class="keyword"  	    >forall</span -	    > x. x -> <a href="#" +	    > x. x -> <a href="#" title="PatternSyns"  	    >FooType</a  	    > x <a href="#" class="selflink"  	    >#</a @@ -197,7 +197,7 @@  	  ><div class="doc"  	  ><p  	    >Pattern synonym for <code -	      ><a href="#" +	      ><a href="#" title="PatternSyns"  		>Foo</a  		></code  	      > x</p @@ -211,9 +211,9 @@  	    >Bar</a  	    > :: <span class="keyword"  	    >forall</span -	    > x. x -> <a href="#" +	    > x. x -> <a href="#" title="PatternSyns"  	    >FooType</a -	    > (<a href="#" +	    > (<a href="#" title="PatternSyns"  	    >FooType</a  	    > x) <a href="#" class="selflink"  	    >#</a @@ -221,7 +221,7 @@  	  ><div class="doc"  	  ><p  	    >Pattern synonym for <code -	      ><a href="#" +	      ><a href="#" title="PatternSyns"  		>Bar</a  		></code  	      > x</p @@ -235,11 +235,11 @@  	    >(:<->)</a  	    > :: <span class="keyword"  	    >forall</span -	    > x x1. x -> x1 -> (<a href="#" +	    > x x1. x -> x1 -> (<a href="#" title="PatternSyns"  	    >FooType</a -	    > x, <a href="#" +	    > x, <a href="#" title="PatternSyns"  	    >FooType</a -	    > (<a href="#" +	    > (<a href="#" title="PatternSyns"  	    >FooType</a  	    > x1)) <a href="#" class="selflink"  	    >#</a @@ -247,7 +247,7 @@  	  ><div class="doc"  	  ><p  	    >Pattern synonym for (<code -	      ><a href="#" +	      ><a href="#" title="PatternSyns"  		>:<-></a  		></code  	      >)</p @@ -272,7 +272,7 @@  	    ><table  	    ><tr  	      ><td class="src" -		><a href="#" +		><a href="#" title="Text.Show"  		  >Show</a  		  > x => <a id="v:BlubCtor" class="def"  		  >BlubCtor</a @@ -291,9 +291,9 @@  	    >Blub</a  	    > :: () => <span class="keyword"  	    >forall</span -	    > x. <a href="#" +	    > x. <a href="#" title="Text.Show"  	    >Show</a -	    > x => x -> <a href="#" +	    > x => x -> <a href="#" title="PatternSyns"  	    >BlubType</a  	    > <a href="#" class="selflink"  	    >#</a @@ -301,7 +301,7 @@  	  ><div class="doc"  	  ><p  	    >Pattern synonym for <code -	      ><a href="#" +	      ><a href="#" title="PatternSyns"  		>Blub</a  		></code  	      > x</p @@ -311,7 +311,7 @@  	><p class="src"  	  ><span class="keyword"  	    >data</span -	    > (a :: <a href="#" +	    > (a :: <a href="#" title="Data.Kind"  	    >*</a  	    >) <a id="t:-62--60-" class="def"  	    >><</a @@ -321,7 +321,7 @@  	  ><div class="doc"  	  ><p  	    >Doc for (<code -	      ><a href="#" +	      ><a href="#" title="PatternSyns"  		>><</a  		></code  	      >)</p @@ -349,15 +349,15 @@  	    >E</a  	    > :: <span class="keyword"  	    >forall</span -	    > k a (b :: k). <a href="#" -	    >(><)</a -	    > k a b <a href="#" class="selflink" +	    > k a (b :: k). a <a href="#" title="PatternSyns" +	    >><</a +	    > b <a href="#" class="selflink"  	    >#</a  	    ></p  	  ><div class="doc"  	  ><p  	    >Pattern for <code -	      ><a href="#" +	      ><a href="#" title="PatternSyns"  		>Empty</a  		></code  	      ></p @@ -369,9 +369,9 @@  	    >pattern</span  	    > <a id="v:PatWithExplicitSig" class="def"  	    >PatWithExplicitSig</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Eq"  	    >Eq</a -	    > somex => somex -> <a href="#" +	    > somex => somex -> <a href="#" title="PatternSyns"  	    >FooType</a  	    > somex <a href="#" class="selflink"  	    >#</a diff --git a/html-test/ref/PromotedTypes.html b/html-test/ref/PromotedTypes.html index 43736811..0ec1adcc 100644 --- a/html-test/ref/PromotedTypes.html +++ b/html-test/ref/PromotedTypes.html @@ -64,7 +64,7 @@  		></tr  	      ><tr  	      ><td class="src" -		>(<a href="#" +		>(<a href="#" title="PromotedTypes"  		  >RevList</a  		  > a) <a id="v::-62-" class="def"  		  >:></a @@ -81,9 +81,9 @@  	    >data</span  	    > <a id="t:Pattern" class="def"  	    >Pattern</a -	    > :: [<a href="#" +	    > :: [<a href="#" title="Data.Kind"  	    >*</a -	    >] -> <a href="#" +	    >] -> <a href="#" title="Data.Kind"  	    >*</a  	    > <span class="keyword"  	    >where</span @@ -98,7 +98,7 @@  	      ><td class="src"  		><a id="v:Nil" class="def"  		  >Nil</a -		  > :: <a href="#" +		  > :: <a href="#" title="PromotedTypes"  		  >Pattern</a  		  > '[]</td  		><td class="doc empty" @@ -108,11 +108,11 @@  	      ><td class="src"  		><a id="v:Cons" class="def"  		  >Cons</a -		  > :: <a href="#" +		  > :: <a href="#" title="Data.Maybe"  		  >Maybe</a -		  > h -> <a href="#" +		  > h -> <a href="#" title="PromotedTypes"  		  >Pattern</a -		  > t -> <a href="#" +		  > t -> <a href="#" title="PromotedTypes"  		  >Pattern</a  		  > (h ': t)</td  		><td class="doc empty" @@ -127,11 +127,11 @@  	    >data</span  	    > <a id="t:RevPattern" class="def"  	    >RevPattern</a -	    > :: <a href="#" +	    > :: <a href="#" title="PromotedTypes"  	    >RevList</a -	    > <a href="#" +	    > <a href="#" title="Data.Kind"  	    >*</a -	    > -> <a href="#" +	    > -> <a href="#" title="Data.Kind"  	    >*</a  	    > <span class="keyword"  	    >where</span @@ -146,9 +146,9 @@  	      ><td class="src"  		><a id="v:RevNil" class="def"  		  >RevNil</a -		  > :: <a href="#" +		  > :: <a href="#" title="PromotedTypes"  		  >RevPattern</a -		  > <a href="#" +		  > <a href="#" title="PromotedTypes"  		  >RNil</a  		  ></td  		><td class="doc empty" @@ -158,13 +158,13 @@  	      ><td class="src"  		><a id="v:RevCons" class="def"  		  >RevCons</a -		  > :: <a href="#" +		  > :: <a href="#" title="Data.Maybe"  		  >Maybe</a -		  > h -> <a href="#" +		  > h -> <a href="#" title="PromotedTypes"  		  >RevPattern</a -		  > t -> <a href="#" +		  > t -> <a href="#" title="PromotedTypes"  		  >RevPattern</a -		  > (t <a href="#" +		  > (t <a href="#" title="PromotedTypes"  		  >:></a  		  > h)</td  		><td class="doc empty" @@ -179,11 +179,11 @@  	    >data</span  	    > <a id="t:Tuple" class="def"  	    >Tuple</a -	    > :: (<a href="#" +	    > :: (<a href="#" title="Data.Kind"  	    >*</a -	    >, <a href="#" +	    >, <a href="#" title="Data.Kind"  	    >*</a -	    >) -> <a href="#" +	    >) -> <a href="#" title="Data.Kind"  	    >*</a  	    > <span class="keyword"  	    >where</span @@ -198,7 +198,7 @@  	      ><td class="src"  		><a id="v:Tuple" class="def"  		  >Tuple</a -		  > :: a -> b -> <a href="#" +		  > :: a -> b -> <a href="#" title="PromotedTypes"  		  >Tuple</a  		  > '(a, b)</td  		><td class="doc empty" diff --git a/html-test/ref/Properties.html b/html-test/ref/Properties.html index 15585cd9..daabe6c4 100644 --- a/html-test/ref/Properties.html +++ b/html-test/ref/Properties.html @@ -46,9 +46,9 @@  	  ><li class="src short"  	    ><a href="#"  	      >fib</a -	      > :: <a href="#" +	      > :: <a href="#" title="Prelude"  	      >Integer</a -	      > -> <a href="#" +	      > -> <a href="#" title="Prelude"  	      >Integer</a  	      ></li  	    ></ul @@ -61,9 +61,9 @@  	><p class="src"  	  ><a id="v:fib" class="def"  	    >fib</a -	    > :: <a href="#" +	    > :: <a href="#" title="Prelude"  	    >Integer</a -	    > -> <a href="#" +	    > -> <a href="#" title="Prelude"  	    >Integer</a  	    > <a href="#" class="selflink"  	    >#</a @@ -71,7 +71,7 @@  	  ><div class="doc"  	  ><p  	    >Fibonacci number of given <code -	      ><a href="#" +	      ><a href="#" title="Prelude"  		>Integer</a  		></code  	      >.</p diff --git a/html-test/ref/QuasiExpr.html b/html-test/ref/QuasiExpr.html index ccec6856..dfded323 100644 --- a/html-test/ref/QuasiExpr.html +++ b/html-test/ref/QuasiExpr.html @@ -58,7 +58,7 @@  	      ><td class="src"  		><a id="v:IntExpr" class="def"  		  >IntExpr</a -		  > <a href="#" +		  > <a href="#" title="Prelude"  		  >Integer</a  		  ></td  		><td class="doc empty" @@ -68,7 +68,7 @@  	      ><td class="src"  		><a id="v:AntiIntExpr" class="def"  		  >AntiIntExpr</a -		  > <a href="#" +		  > <a href="#" title="Data.String"  		  >String</a  		  ></td  		><td class="doc empty" @@ -78,11 +78,11 @@  	      ><td class="src"  		><a id="v:BinopExpr" class="def"  		  >BinopExpr</a -		  > <a href="#" +		  > <a href="#" title="QuasiExpr"  		  >BinOp</a -		  > <a href="#" +		  > <a href="#" title="QuasiExpr"  		  >Expr</a -		  > <a href="#" +		  > <a href="#" title="QuasiExpr"  		  >Expr</a  		  ></td  		><td class="doc empty" @@ -92,7 +92,7 @@  	      ><td class="src"  		><a id="v:AntiExpr" class="def"  		  >AntiExpr</a -		  > <a href="#" +		  > <a href="#" title="Data.String"  		  >String</a  		  ></td  		><td class="doc empty" @@ -110,9 +110,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:id:Expr:Show:1"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Text.Show"  		      >Show</a -		      > <a href="#" +		      > <a href="#" title="QuasiExpr"  		      >Expr</a  		      ></span  		    > <a href="#" class="selflink" @@ -126,17 +126,21 @@  		  ><details id="i:id:Expr:Show:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>QuasiExpr</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >showsPrec</a -			  > :: <a href="#" +			  > :: <a href="#" title="Data.Int"  			  >Int</a -			  > -> <a href="#" +			  > -> <a href="#" title="QuasiExpr"  			  >Expr</a -			  > -> <a href="#" +			  > -> <a href="#" title="Text.Show"  			  >ShowS</a  			  > <a href="#" class="selflink"  			  >#</a @@ -144,9 +148,9 @@  			><p class="src"  			><a href="#"  			  >show</a -			  > :: <a href="#" +			  > :: <a href="#" title="QuasiExpr"  			  >Expr</a -			  > -> <a href="#" +			  > -> <a href="#" title="Data.String"  			  >String</a  			  > <a href="#" class="selflink"  			  >#</a @@ -154,9 +158,9 @@  			><p class="src"  			><a href="#"  			  >showList</a -			  > :: [<a href="#" +			  > :: [<a href="#" title="QuasiExpr"  			  >Expr</a -			  >] -> <a href="#" +			  >] -> <a href="#" title="Text.Show"  			  >ShowS</a  			  > <a href="#" class="selflink"  			  >#</a @@ -226,9 +230,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:id:BinOp:Show:1"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Text.Show"  		      >Show</a -		      > <a href="#" +		      > <a href="#" title="QuasiExpr"  		      >BinOp</a  		      ></span  		    > <a href="#" class="selflink" @@ -242,17 +246,21 @@  		  ><details id="i:id:BinOp:Show:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>QuasiExpr</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >showsPrec</a -			  > :: <a href="#" +			  > :: <a href="#" title="Data.Int"  			  >Int</a -			  > -> <a href="#" +			  > -> <a href="#" title="QuasiExpr"  			  >BinOp</a -			  > -> <a href="#" +			  > -> <a href="#" title="Text.Show"  			  >ShowS</a  			  > <a href="#" class="selflink"  			  >#</a @@ -260,9 +268,9 @@  			><p class="src"  			><a href="#"  			  >show</a -			  > :: <a href="#" +			  > :: <a href="#" title="QuasiExpr"  			  >BinOp</a -			  > -> <a href="#" +			  > -> <a href="#" title="Data.String"  			  >String</a  			  > <a href="#" class="selflink"  			  >#</a @@ -270,9 +278,9 @@  			><p class="src"  			><a href="#"  			  >showList</a -			  > :: [<a href="#" +			  > :: [<a href="#" title="QuasiExpr"  			  >BinOp</a -			  >] -> <a href="#" +			  >] -> <a href="#" title="Text.Show"  			  >ShowS</a  			  > <a href="#" class="selflink"  			  >#</a @@ -289,9 +297,9 @@  	><p class="src"  	  ><a id="v:eval" class="def"  	    >eval</a -	    > :: <a href="#" +	    > :: <a href="#" title="QuasiExpr"  	    >Expr</a -	    > -> <a href="#" +	    > -> <a href="#" title="Prelude"  	    >Integer</a  	    > <a href="#" class="selflink"  	    >#</a @@ -301,7 +309,9 @@  	><p class="src"  	  ><a id="v:expr" class="def"  	    >expr</a -	    > :: QuasiQuoter <a href="#" class="selflink" +	    > :: <a href="#" title="Language.Haskell.TH.Quote" +	    >QuasiQuoter</a +	    > <a href="#" class="selflink"  	    >#</a  	    ></p  	  ></div @@ -309,9 +319,13 @@  	><p class="src"  	  ><a id="v:parseExprExp" class="def"  	    >parseExprExp</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.String"  	    >String</a -	    > -> Q Exp <a href="#" class="selflink" +	    > -> <a href="#" title="Language.Haskell.TH.Syntax" +	    >Q</a +	    > <a href="#" title="Language.Haskell.TH.Syntax" +	    >Exp</a +	    > <a href="#" class="selflink"  	    >#</a  	    ></p  	  ></div diff --git a/html-test/ref/QuasiQuote.html b/html-test/ref/QuasiQuote.html index da2ffc4e..c73250b8 100644 --- a/html-test/ref/QuasiQuote.html +++ b/html-test/ref/QuasiQuote.html @@ -45,7 +45,7 @@  	><p class="src"  	  ><a id="v:val" class="def"  	    >val</a -	    > :: <a href="#" +	    > :: <a href="#" title="Prelude"  	    >Integer</a  	    > <a href="#" class="selflink"  	    >#</a diff --git a/html-test/ref/SpuriousSuperclassConstraints.html b/html-test/ref/SpuriousSuperclassConstraints.html index 53421ff5..cd80ed34 100644 --- a/html-test/ref/SpuriousSuperclassConstraints.html +++ b/html-test/ref/SpuriousSuperclassConstraints.html @@ -73,9 +73,9 @@ Fix spurious superclass constraints bug.</pre  	    >data</span  	    > <a id="t:SomeType" class="def"  	    >SomeType</a -	    > (f :: <a href="#" +	    > (f :: <a href="#" title="Data.Kind"  	    >*</a -	    > -> <a href="#" +	    > -> <a href="#" title="Data.Kind"  	    >*</a  	    >) a <a href="#" class="selflink"  	    >#</a @@ -90,9 +90,9 @@ Fix spurious superclass constraints bug.</pre  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:id:SomeType:Functor:1"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Data.Functor"  		      >Functor</a -		      > (<a href="#" +		      > (<a href="#" title="SpuriousSuperclassConstraints"  		      >SomeType</a  		      > f)</span  		    > <a href="#" class="selflink" @@ -106,15 +106,19 @@ Fix spurious superclass constraints bug.</pre  		  ><details id="i:id:SomeType:Functor:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>SpuriousSuperclassConstraints</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >fmap</a -			  > :: (a -> b) -> <a href="#" +			  > :: (a -> b) -> <a href="#" title="SpuriousSuperclassConstraints"  			  >SomeType</a -			  > f a -> <a href="#" +			  > f a -> <a href="#" title="SpuriousSuperclassConstraints"  			  >SomeType</a  			  > f b <a href="#" class="selflink"  			  >#</a @@ -122,9 +126,9 @@ Fix spurious superclass constraints bug.</pre  			><p class="src"  			><a href="#"  			  >(<$)</a -			  > :: a -> <a href="#" +			  > :: a -> <a href="#" title="SpuriousSuperclassConstraints"  			  >SomeType</a -			  > f b -> <a href="#" +			  > f b -> <a href="#" title="SpuriousSuperclassConstraints"  			  >SomeType</a  			  > f a <a href="#" class="selflink"  			  >#</a @@ -138,11 +142,11 @@ Fix spurious superclass constraints bug.</pre  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:id:SomeType:Applicative:2"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Control.Applicative"  		      >Applicative</a -		      > f => <a href="#" +		      > f => <a href="#" title="Control.Applicative"  		      >Applicative</a -		      > (<a href="#" +		      > (<a href="#" title="SpuriousSuperclassConstraints"  		      >SomeType</a  		      > f)</span  		    > <a href="#" class="selflink" @@ -156,13 +160,17 @@ Fix spurious superclass constraints bug.</pre  		  ><details id="i:id:SomeType:Applicative:2"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>SpuriousSuperclassConstraints</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >pure</a -			  > :: a -> <a href="#" +			  > :: a -> <a href="#" title="SpuriousSuperclassConstraints"  			  >SomeType</a  			  > f a <a href="#" class="selflink"  			  >#</a @@ -170,11 +178,11 @@ Fix spurious superclass constraints bug.</pre  			><p class="src"  			><a href="#"  			  >(<*>)</a -			  > :: <a href="#" +			  > :: <a href="#" title="SpuriousSuperclassConstraints"  			  >SomeType</a -			  > f (a -> b) -> <a href="#" +			  > f (a -> b) -> <a href="#" title="SpuriousSuperclassConstraints"  			  >SomeType</a -			  > f a -> <a href="#" +			  > f a -> <a href="#" title="SpuriousSuperclassConstraints"  			  >SomeType</a  			  > f b <a href="#" class="selflink"  			  >#</a @@ -182,11 +190,11 @@ Fix spurious superclass constraints bug.</pre  			><p class="src"  			><a href="#"  			  >liftA2</a -			  > :: (a -> b -> c) -> <a href="#" +			  > :: (a -> b -> c) -> <a href="#" title="SpuriousSuperclassConstraints"  			  >SomeType</a -			  > f a -> <a href="#" +			  > f a -> <a href="#" title="SpuriousSuperclassConstraints"  			  >SomeType</a -			  > f b -> <a href="#" +			  > f b -> <a href="#" title="SpuriousSuperclassConstraints"  			  >SomeType</a  			  > f c <a href="#" class="selflink"  			  >#</a @@ -194,11 +202,11 @@ Fix spurious superclass constraints bug.</pre  			><p class="src"  			><a href="#"  			  >(*>)</a -			  > :: <a href="#" +			  > :: <a href="#" title="SpuriousSuperclassConstraints"  			  >SomeType</a -			  > f a -> <a href="#" +			  > f a -> <a href="#" title="SpuriousSuperclassConstraints"  			  >SomeType</a -			  > f b -> <a href="#" +			  > f b -> <a href="#" title="SpuriousSuperclassConstraints"  			  >SomeType</a  			  > f b <a href="#" class="selflink"  			  >#</a @@ -206,11 +214,11 @@ Fix spurious superclass constraints bug.</pre  			><p class="src"  			><a href="#"  			  >(<*)</a -			  > :: <a href="#" +			  > :: <a href="#" title="SpuriousSuperclassConstraints"  			  >SomeType</a -			  > f a -> <a href="#" +			  > f a -> <a href="#" title="SpuriousSuperclassConstraints"  			  >SomeType</a -			  > f b -> <a href="#" +			  > f b -> <a href="#" title="SpuriousSuperclassConstraints"  			  >SomeType</a  			  > f a <a href="#" class="selflink"  			  >#</a diff --git a/html-test/ref/TH.html b/html-test/ref/TH.html index 403abe62..a35204ff 100644 --- a/html-test/ref/TH.html +++ b/html-test/ref/TH.html @@ -45,7 +45,11 @@  	><p class="src"  	  ><a id="v:decl" class="def"  	    >decl</a -	    > :: Q [Dec] <a href="#" class="selflink" +	    > :: <a href="#" title="Language.Haskell.TH.Syntax" +	    >Q</a +	    > [<a href="#" title="Language.Haskell.TH.Syntax" +	    >Dec</a +	    >] <a href="#" class="selflink"  	    >#</a  	    ></p  	  ></div diff --git a/html-test/ref/Table.html b/html-test/ref/Table.html new file mode 100644 index 00000000..deaf6b1c --- /dev/null +++ b/html-test/ref/Table.html @@ -0,0 +1,238 @@ +<html xmlns="http://www.w3.org/1999/xhtml" +><head +  ><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" +     /><title +    >Table</title +    ><link href="#" rel="stylesheet" type="text/css" title="Ocean" +     /><link rel="stylesheet" type="text/css" href="#" +     /><script src="haddock-bundle.min.js" async="async" type="text/javascript" +    ></script +    ><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript" +    ></script +    ></head +  ><body +  ><div id="package-header" +    ><ul class="links" id="page-menu" +      ><li +	><a href="#" +	  >Contents</a +	  ></li +	><li +	><a href="#" +	  >Index</a +	  ></li +	></ul +      ><p class="caption empty" +      ></p +      ></div +    ><div id="content" +    ><div id="module-header" +      ><table class="info" +	><tr +	  ><th +	    >Safe Haskell</th +	    ><td +	    >Safe</td +	    ></tr +	  ></table +	><p class="caption" +	>Table</p +	></div +      ><div id="description" +      ><p class="caption" +	>Description</p +	><div class="doc" +	><p +	  >This tests the table markup</p +	  ></div +	></div +      ><div id="synopsis" +      ><details id="syn" +	><summary +	  >Synopsis</summary +	  ><ul class="details-toggle" data-details-id="syn" +	  ><li class="src short" +	    ><a href="#" +	      >tableWithHeader</a +	      > :: a -> a</li +	    ><li class="src short" +	    ><a href="#" +	      >tableWithoutHeader</a +	      > :: a -> a</li +	    ><li class="src short" +	    ><a href="#" +	      >fancyTable</a +	      > :: a -> a</li +	    ></ul +	  ></details +	></div +      ><div id="interface" +      ><h1 +	>Documentation</h1 +	><div class="top" +	><p class="src" +	  ><a id="v:tableWithHeader" class="def" +	    >tableWithHeader</a +	    > :: a -> a <a href="#" class="selflink" +	    >#</a +	    ></p +	  ><div class="doc" +	  ><p +	    >Table with header.</p +	    ><table +	    ><thead +	      ><tr +		><th +		  > code </th +		  ><th +		  > message      </th +		  ><th +		  > description                              </th +		  ></tr +		></thead +	      ><tbody +	      ><tr +		><td +		  > 200  </td +		  ><td +		  >   <code +		    >OK</code +		    >       </td +		  ><td +		  > operation successful                     </td +		  ></tr +		><tr +		><td +		  > 204  </td +		  ><td +		  > <code +		    >No Content</code +		    > </td +		  ><td +		  > operation successful, no body returned   </td +		  ></tr +		></tbody +	      ></table +	    ></div +	  ></div +	><div class="top" +	><p class="src" +	  ><a id="v:tableWithoutHeader" class="def" +	    >tableWithoutHeader</a +	    > :: a -> a <a href="#" class="selflink" +	    >#</a +	    ></p +	  ><div class="doc" +	  ><p +	    >Table without header.</p +	    ><table +	    ><tbody +	      ><tr +		><td +		  > 200  </td +		  ><td +		  >   <code +		    >OK</code +		    >       </td +		  ><td +		  > operation successful                     </td +		  ></tr +		><tr +		><td +		  > 204  </td +		  ><td +		  > <code +		    >No Content</code +		    > </td +		  ><td +		  > operation successful, no body returned   </td +		  ></tr +		><tr +		><td +		  > 404  </td +		  ><td +		  > <code +		    >Not Found</code +		    >  </td +		  ><td +		  > resource not found                       </td +		  ></tr +		></tbody +	      ></table +	    ></div +	  ></div +	><div class="top" +	><p class="src" +	  ><a id="v:fancyTable" class="def" +	    >fancyTable</a +	    > :: a -> a <a href="#" class="selflink" +	    >#</a +	    ></p +	  ><div class="doc" +	  ><p +	    >Fancy table.</p +	    ><table +	    ><thead +	      ><tr +		><th +		  > Header row, column 1    + (header rows optional) </th +		  ><th +		  > Header 2    +            </th +		  ><th +		  > Header 3  +          </th +		  ><th +		  > Header 4  +          </th +		  ></tr +		></thead +	      ><tbody +	      ><tr +		><td +		  > body row 1, column 1   </td +		  ><td +		  > column 2   </td +		  ><td +		  > column 3 </td +		  ><td +		  > column 4 </td +		  ></tr +		><tr +		><td +		  > <code +		    ><a href="#" title="Table" +		      >tableWithHeader</a +		      ></code +		    >      </td +		  ><td colspan="3" +		  > Cells may span columns.          </td +		  ></tr +		><tr +		><td +		  > body row 3             </td +		  ><td rowspan="2" +		  > Cells may   + span rows.  +            </td +		  ><td colspan="2" rowspan="2" +		  > \[                   + f(n) = \sum_{i=1}    + \]                  </td +		  ></tr +		><tr +		><td +		  > body row 4             </td +		  ></tr +		></tbody +	      ></table +	    ></div +	  ></div +	></div +      ></div +    ><div id="footer" +    ></div +    ></body +  ></html +>
\ No newline at end of file diff --git a/html-test/ref/Test.html b/html-test/ref/Test.html index 4bcd2508..369541f3 100644 --- a/html-test/ref/Test.html +++ b/html-test/ref/Test.html @@ -133,19 +133,19 @@  	><p  	  >This module illustrates & tests most of the features of Haddock.   Testing references from the description: <code -	    ><a href="#" +	    ><a href="#" title="Test"  	      >T</a  	      ></code  	    >, <code -	    ><a href="#" +	    ><a href="#" title="Test"  	      >f</a  	      ></code  	    >, <code -	    ><a href="#" +	    ><a href="#" title="Test"  	      >g</a  	      ></code  	    >, <code -	    ><a href="#" +	    ><a href="#" title="Visible"  	      >visible</a  	      ></code  	    >.</p @@ -165,23 +165,23 @@  	      ><li  		>= <a href="#"  		  >A</a -		  > <a href="#" +		  > <a href="#" title="Data.Int"  		  >Int</a -		  > (<a href="#" +		  > (<a href="#" title="Data.Maybe"  		  >Maybe</a -		  > <a href="#" +		  > <a href="#" title="Prelude"  		  >Float</a  		  >)</li  		><li  		>| <a href="#"  		  >B</a -		  > (<a href="#" +		  > (<a href="#" title="Test"  		  >T</a -		  > a b, <a href="#" +		  > a b, <a href="#" title="Test"  		  >T</a -		  > <a href="#" +		  > <a href="#" title="Data.Int"  		  >Int</a -		  > <a href="#" +		  > <a href="#" title="Prelude"  		  >Float</a  		  >)</li  		></ul @@ -357,7 +357,7 @@  		  ><li  		    ><a href="#"  		      >p</a -		      > :: <a href="#" +		      > :: <a href="#" title="Data.Int"  		      >Int</a  		      ></li  		    ><li @@ -371,7 +371,7 @@  		      >r</a  		      >, <a href="#"  		      >s</a -		      > :: <a href="#" +		      > :: <a href="#" title="Data.Int"  		      >Int</a  		      ></li  		    ></ul @@ -383,25 +383,25 @@  		  ><li  		    ><a href="#"  		      >t</a -		      > :: T1 -> <a href="#" +		      > :: T1 -> <a href="#" title="Test"  		      >T2</a -		      > <a href="#" +		      > <a href="#" title="Data.Int"  		      >Int</a -		      > <a href="#" +		      > <a href="#" title="Data.Int"  		      >Int</a -		      > -> <a href="#" +		      > -> <a href="#" title="Test"  		      >T3</a -		      > <a href="#" +		      > <a href="#" title="Data.Bool"  		      >Bool</a -		      > <a href="#" +		      > <a href="#" title="Data.Bool"  		      >Bool</a -		      > -> <a href="#" +		      > -> <a href="#" title="Test"  		      >T4</a -		      > <a href="#" +		      > <a href="#" title="Prelude"  		      >Float</a -		      > <a href="#" +		      > <a href="#" title="Prelude"  		      >Float</a -		      > -> <a href="#" +		      > -> <a href="#" title="Test"  		      >T5</a  		      > () ()</li  		    ><li @@ -409,7 +409,7 @@  		      >u</a  		      >, <a href="#"  		      >v</a -		      > :: <a href="#" +		      > :: <a href="#" title="Data.Int"  		      >Int</a  		      ></li  		    ></ul @@ -427,27 +427,51 @@  	      ><li  		><a href="#"  		  >s1</a -		  > :: <a href="#" +		  > :: <a href="#" title="Data.Int"  		  >Int</a  		  ></li  		><li  		><a href="#"  		  >s2</a -		  > :: <a href="#" +		  > :: <a href="#" title="Data.Int"  		  >Int</a  		  ></li  		><li  		><a href="#"  		  >s3</a -		  > :: <a href="#" +		  > :: <a href="#" title="Data.Int"  		  >Int</a  		  ></li  		></ul  	      >}</li  	    ><li class="src short" +	    ><a href="#" +	      >p</a +	      > :: <a href="#" title="Test" +	      >R</a +	      > -> <a href="#" title="Data.Int" +	      >Int</a +	      ></li +	    ><li class="src short" +	    ><a href="#" +	      >q</a +	      > :: <a href="#" title="Test" +	      >R</a +	      > -> <span class="keyword" +	      >forall</span +	      > a. a -> a</li +	    ><li class="src short" +	    ><a href="#" +	      >u</a +	      > :: <a href="#" title="Test" +	      >R</a +	      > -> <a href="#" title="Data.Int" +	      >Int</a +	      ></li +	    ><li class="src short"  	    ><span class="keyword"  	      >class</span -	      > <a href="#" +	      > <a href="#" title="Test"  	      >D</a  	      > a => <a href="#"  	      >C</a @@ -485,33 +509,33 @@  	    ><li class="src short"  	    ><a href="#"  	      >a</a -	      > :: <a href="#" +	      > :: <a href="#" title="Test"  	      >C</a -	      > a => <a href="#" +	      > a => <a href="#" title="System.IO"  	      >IO</a  	      > a</li  	    ><li class="src short"  	    ><a href="#"  	      >f</a -	      > :: <a href="#" +	      > :: <a href="#" title="Test"  	      >C</a -	      > a => a -> <a href="#" +	      > a => a -> <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ><li class="src short"  	    ><a href="#"  	      >g</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a -	      > -> <a href="#" +	      > -> <a href="#" title="System.IO"  	      >IO</a  	      > CInt</li  	    ><li class="src short"  	    ><a href="#"  	      >hidden</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a -	      > -> <a href="#" +	      > -> <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ><li class="src short" @@ -525,7 +549,7 @@  	      >Ex</a  	      > a<ul class="subs"  	      ><li -		>= <a href="#" +		>= <a href="#" title="Test"  		  >C</a  		  > b => <a href="#"  		  >Ex1</a @@ -535,7 +559,7 @@  		  >Ex2</a  		  > b</li  		><li -		>| <a href="#" +		>| <a href="#" title="Test"  		  >C</a  		  > a => <a href="#"  		  >Ex3</a @@ -551,75 +575,75 @@  	    ><li class="src short"  	    ><a href="#"  	      >k</a -	      > :: <a href="#" +	      > :: <a href="#" title="Test"  	      >T</a -	      > () () -> <a href="#" +	      > () () -> <a href="#" title="Test"  	      >T2</a -	      > <a href="#" +	      > <a href="#" title="Data.Int"  	      >Int</a -	      > <a href="#" +	      > <a href="#" title="Data.Int"  	      >Int</a -	      > -> (<a href="#" +	      > -> (<a href="#" title="Test"  	      >T3</a -	      > <a href="#" +	      > <a href="#" title="Data.Bool"  	      >Bool</a -	      > <a href="#" +	      > <a href="#" title="Data.Bool"  	      >Bool</a -	      > -> <a href="#" +	      > -> <a href="#" title="Test"  	      >T4</a -	      > <a href="#" +	      > <a href="#" title="Prelude"  	      >Float</a -	      > <a href="#" +	      > <a href="#" title="Prelude"  	      >Float</a -	      >) -> <a href="#" +	      >) -> <a href="#" title="Test"  	      >T5</a -	      > () () -> <a href="#" +	      > () () -> <a href="#" title="System.IO"  	      >IO</a  	      > ()</li  	    ><li class="src short"  	    ><a href="#"  	      >l</a -	      > :: (<a href="#" +	      > :: (<a href="#" title="Data.Int"  	      >Int</a -	      >, <a href="#" +	      >, <a href="#" title="Data.Int"  	      >Int</a -	      >, <a href="#" +	      >, <a href="#" title="Prelude"  	      >Float</a -	      >) -> <a href="#" +	      >) -> <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ><li class="src short"  	    ><a href="#"  	      >m</a -	      > :: <a href="#" +	      > :: <a href="#" title="Test"  	      >R</a -	      > -> <a href="#" +	      > -> <a href="#" title="Test"  	      >N1</a -	      > () -> <a href="#" +	      > () -> <a href="#" title="System.IO"  	      >IO</a -	      > <a href="#" +	      > <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ><li class="src short"  	    ><a href="#"  	      >o</a -	      > :: <a href="#" +	      > :: <a href="#" title="Prelude"  	      >Float</a -	      > -> <a href="#" +	      > -> <a href="#" title="System.IO"  	      >IO</a -	      > <a href="#" +	      > <a href="#" title="Prelude"  	      >Float</a  	      ></li  	    ><li class="src short"  	    ><a href="#"  	      >f'</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ><li class="src short"  	    ><a href="#"  	      >withType</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ><li class="src short" @@ -630,10 +654,14 @@  	  ></details  	></div        ><div id="interface" -      ><h1 id="g:1" -	>Type declarations</h1 -	><h2 id="g:2" -	>Data types</h2 +      ><a href="#" id="g:1" +	><h1 +	  >Type declarations</h1 +	  ></a +	><a href="#" id="g:2" +	><h2 +	  >Data types</h2 +	  ></a  	><div class="top"  	><p class="src"  	  ><span class="keyword" @@ -658,17 +686,17 @@  	      ><td class="src"  		><a id="v:A" class="def"  		  >A</a -		  > <a href="#" +		  > <a href="#" title="Data.Int"  		  >Int</a -		  > (<a href="#" +		  > (<a href="#" title="Data.Maybe"  		  >Maybe</a -		  > <a href="#" +		  > <a href="#" title="Prelude"  		  >Float</a  		  >)</td  		><td class="doc"  		><p  		  >This comment describes the <code -		    ><a href="#" +		    ><a href="#" title="Test"  		      >A</a  		      ></code  		    > constructor</p @@ -678,19 +706,19 @@  	      ><td class="src"  		><a id="v:B" class="def"  		  >B</a -		  > (<a href="#" +		  > (<a href="#" title="Test"  		  >T</a -		  > a b, <a href="#" +		  > a b, <a href="#" title="Test"  		  >T</a -		  > <a href="#" +		  > <a href="#" title="Data.Int"  		  >Int</a -		  > <a href="#" +		  > <a href="#" title="Prelude"  		  >Float</a  		  >)</td  		><td class="doc"  		><p  		  >This comment describes the <code -		    ><a href="#" +		    ><a href="#" title="Test"  		      >B</a  		      ></code  		    > constructor</p @@ -802,7 +830,7 @@  		><td class="doc"  		><p  		  >documents <code -		    ><a href="#" +		    ><a href="#" title="Test"  		      >A3</a  		      ></code  		    ></p @@ -816,7 +844,7 @@  		><td class="doc"  		><p  		  >documents <code -		    ><a href="#" +		    ><a href="#" title="Test"  		      >B3</a  		      ></code  		    ></p @@ -850,7 +878,7 @@  		><td class="doc"  		><p  		  >This is the doc for <code -		    ><a href="#" +		    ><a href="#" title="Test"  		      >A4</a  		      ></code  		    ></p @@ -864,7 +892,7 @@  		><td class="doc"  		><p  		  >This is the doc for <code -		    ><a href="#" +		    ><a href="#" title="Test"  		      >B4</a  		      ></code  		    ></p @@ -878,7 +906,7 @@  		><td class="doc"  		><p  		  >This is the doc for <code -		    ><a href="#" +		    ><a href="#" title="Test"  		      >C4</a  		      ></code  		    ></p @@ -1000,7 +1028,7 @@  			><div class="doc"  			><p  			  >this is the <code -			    ><a href="#" +			    ><a href="#" title="Test"  			      >n3</a  			      ></code  			    > field</p @@ -1141,7 +1169,7 @@  		><td class="doc"  		><p  		  >The <code -		    ><a href="#" +		    ><a href="#" title="Test"  		      >N7</a  		      ></code  		    > constructor</p @@ -1168,8 +1196,10 @@  	      ></table  	    ></div  	  ></div -	><h2 id="g:3" -	>Records</h2 +	><a href="#" id="g:3" +	><h2 +	  >Records</h2 +	  ></a  	><div class="top"  	><p class="src"  	  ><span class="keyword" @@ -1182,24 +1212,24 @@  	  ><div class="doc"  	  ><p  	    >This is the documentation for the <code -	      ><a href="#" +	      ><a href="#" title="Test"  		>R</a  		></code  	      > record, which has four fields,   <code -	      ><a href="#" +	      ><a href="#" title="Test"  		>p</a  		></code  	      >, <code -	      ><a href="#" +	      ><a href="#" title="Test"  		>q</a  		></code  	      >, <code -	      ><a href="#" +	      ><a href="#" title="Test"  		>r</a  		></code  	      >, and <code -	      ><a href="#" +	      ><a href="#" title="Test"  		>s</a  		></code  	      >.</p @@ -1216,7 +1246,7 @@  		><td class="doc"  		><p  		  >This is the <code -		    ><a href="#" +		    ><a href="#" title="Test"  		      >C1</a  		      ></code  		    > record constructor, with the following fields:</p @@ -1232,13 +1262,13 @@  		      ><dfn class="src"  			><a id="v:p" class="def"  			  >p</a -			  > :: <a href="#" +			  > :: <a href="#" title="Data.Int"  			  >Int</a  			  ></dfn  			><div class="doc"  			><p  			  >This comment applies to the <code -			    ><a href="#" +			    ><a href="#" title="Test"  			      >p</a  			      ></code  			    > field</p @@ -1254,7 +1284,7 @@  			><div class="doc"  			><p  			  >This comment applies to the <code -			    ><a href="#" +			    ><a href="#" title="Test"  			      >q</a  			      ></code  			    > field</p @@ -1266,17 +1296,17 @@  			  >r</a  			  >, <a id="v:s" class="def"  			  >s</a -			  > :: <a href="#" +			  > :: <a href="#" title="Data.Int"  			  >Int</a  			  ></dfn  			><div class="doc"  			><p  			  >This comment applies to both <code -			    ><a href="#" +			    ><a href="#" title="Test"  			      >r</a  			      ></code  			    > and <code -			    ><a href="#" +			    ><a href="#" title="Test"  			      >s</a  			      ></code  			    ></p @@ -1294,7 +1324,7 @@  		><td class="doc"  		><p  		  >This is the <code -		    ><a href="#" +		    ><a href="#" title="Test"  		      >C2</a  		      ></code  		    > record constructor, also with some fields:</p @@ -1310,25 +1340,25 @@  		      ><dfn class="src"  			><a id="v:t" class="def"  			  >t</a -			  > :: T1 -> <a href="#" +			  > :: T1 -> <a href="#" title="Test"  			  >T2</a -			  > <a href="#" +			  > <a href="#" title="Data.Int"  			  >Int</a -			  > <a href="#" +			  > <a href="#" title="Data.Int"  			  >Int</a -			  > -> <a href="#" +			  > -> <a href="#" title="Test"  			  >T3</a -			  > <a href="#" +			  > <a href="#" title="Data.Bool"  			  >Bool</a -			  > <a href="#" +			  > <a href="#" title="Data.Bool"  			  >Bool</a -			  > -> <a href="#" +			  > -> <a href="#" title="Test"  			  >T4</a -			  > <a href="#" +			  > <a href="#" title="Prelude"  			  >Float</a -			  > <a href="#" +			  > <a href="#" title="Prelude"  			  >Float</a -			  > -> <a href="#" +			  > -> <a href="#" title="Test"  			  >T5</a  			  > () ()</dfn  			><div class="doc empty" @@ -1340,7 +1370,7 @@  			  >u</a  			  >, <a id="v:v" class="def"  			  >v</a -			  > :: <a href="#" +			  > :: <a href="#" title="Data.Int"  			  >Int</a  			  ></dfn  			><div class="doc empty" @@ -1378,7 +1408,7 @@  		><td class="doc"  		><p  		  >This is the <code -		    ><a href="#" +		    ><a href="#" title="Test"  		      >C3</a  		      ></code  		    > record constructor</p @@ -1394,13 +1424,13 @@  		      ><dfn class="src"  			><a id="v:s1" class="def"  			  >s1</a -			  > :: <a href="#" +			  > :: <a href="#" title="Data.Int"  			  >Int</a  			  ></dfn  			><div class="doc"  			><p  			  >The <code -			    ><a href="#" +			    ><a href="#" title="Test"  			      >s1</a  			      ></code  			    > record selector</p @@ -1410,13 +1440,13 @@  		      ><dfn class="src"  			><a id="v:s2" class="def"  			  >s2</a -			  > :: <a href="#" +			  > :: <a href="#" title="Data.Int"  			  >Int</a  			  ></dfn  			><div class="doc"  			><p  			  >The <code -			    ><a href="#" +			    ><a href="#" title="Test"  			      >s2</a  			      ></code  			    > record selector</p @@ -1426,13 +1456,13 @@  		      ><dfn class="src"  			><a id="v:s3" class="def"  			  >s3</a -			  > :: <a href="#" +			  > :: <a href="#" title="Data.Int"  			  >Int</a  			  ></dfn  			><div class="doc"  			><p  			  >The <code -			    ><a href="#" +			    ><a href="#" title="Test"  			      >s3</a  			      ></code  			    > record selector</p @@ -1449,13 +1479,67 @@  	><p  	  >test that we can export record selectors on their own:</p  	  ></div -	><h1 id="g:4" -	>Class declarations</h1 +	><div class="top" +	><p class="src" +	  ><a id="v:p" class="def" +	    >p</a +	    > :: <a href="#" title="Test" +	    >R</a +	    > -> <a href="#" title="Data.Int" +	    >Int</a +	    > <a href="#" class="selflink" +	    >#</a +	    ></p +	  ><div class="doc" +	  ><p +	    >This comment applies to the <code +	      ><a href="#" title="Test" +		>p</a +		></code +	      > field</p +	    ></div +	  ></div +	><div class="top" +	><p class="src" +	  ><a id="v:q" class="def" +	    >q</a +	    > :: <a href="#" title="Test" +	    >R</a +	    > -> <span class="keyword" +	    >forall</span +	    > a. a -> a <a href="#" class="selflink" +	    >#</a +	    ></p +	  ><div class="doc" +	  ><p +	    >This comment applies to the <code +	      ><a href="#" title="Test" +		>q</a +		></code +	      > field</p +	    ></div +	  ></div +	><div class="top" +	><p class="src" +	  ><a id="v:u" class="def" +	    >u</a +	    > :: <a href="#" title="Test" +	    >R</a +	    > -> <a href="#" title="Data.Int" +	    >Int</a +	    > <a href="#" class="selflink" +	    >#</a +	    ></p +	  ></div +	><a href="#" id="g:4" +	><h1 +	  >Class declarations</h1 +	  ></a  	><div class="top"  	><p class="src"  	  ><span class="keyword"  	    >class</span -	    > <a href="#" +	    > <a href="#" title="Test"  	    >D</a  	    > a => <a id="t:C" class="def"  	    >C</a @@ -1469,7 +1553,7 @@  	    >This comment applies to the <em  	      >previous</em  	      > declaration (the <code -	      ><a href="#" +	      ><a href="#" title="Test"  		>C</a  		></code  	      > class)</p @@ -1478,9 +1562,9 @@  	  ><p class="caption"  	    >Minimal complete definition</p  	    ><p class="src" -	    ><a href="#" +	    ><a href="#" title="Test"  	      >a</a -	      >, <a href="#" +	      >, <a href="#" title="Test"  	      >b</a  	      ></p  	    ></div @@ -1490,7 +1574,7 @@  	    ><p class="src"  	    ><a id="v:a" class="def"  	      >a</a -	      > :: <a href="#" +	      > :: <a href="#" title="System.IO"  	      >IO</a  	      > a <a href="#" class="selflink"  	      >#</a @@ -1498,7 +1582,7 @@  	    ><div class="doc"  	    ><p  	      >this is a description of the <code -		><a href="#" +		><a href="#" title="Test"  		  >a</a  		  ></code  		> method</p @@ -1512,7 +1596,7 @@  	    ><div class="doc"  	    ><p  	      >this is a description of the <code -		><a href="#" +		><a href="#" title="Test"  		  >b</a  		  ></code  		> method</p @@ -1538,9 +1622,9 @@  	  ><p class="caption"  	    >Minimal complete definition</p  	    ><p class="src" -	    ><a href="#" +	    ><a href="#" title="Test"  	      >d</a -	      >, <a href="#" +	      >, <a href="#" title="Test"  	      >e</a  	      ></p  	    ></div @@ -1550,7 +1634,7 @@  	    ><p class="src"  	    ><a id="v:d" class="def"  	      >d</a -	      > :: <a href="#" +	      > :: <a href="#" title="Test"  	      >T</a  	      > a b <a href="#" class="selflink"  	      >#</a @@ -1572,9 +1656,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:D:D:1"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Test"  		      >D</a -		      > <a href="#" +		      > <a href="#" title="Prelude"  		      >Float</a  		      ></span  		    > <a href="#" class="selflink" @@ -1588,15 +1672,19 @@  		  ><details id="i:ic:D:D:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Test</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >d</a -			  > :: <a href="#" +			  > :: <a href="#" title="Test"  			  >T</a -			  > <a href="#" +			  > <a href="#" title="Prelude"  			  >Float</a  			  > b <a href="#" class="selflink"  			  >#</a @@ -1604,9 +1692,9 @@  			><p class="src"  			><a href="#"  			  >e</a -			  > :: (<a href="#" +			  > :: (<a href="#" title="Prelude"  			  >Float</a -			  >, <a href="#" +			  >, <a href="#" title="Prelude"  			  >Float</a  			  >) <a href="#" class="selflink"  			  >#</a @@ -1620,9 +1708,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:D:D:2"  		      ></span -		      > <a href="#" +		      > <a href="#" title="Test"  		      >D</a -		      > <a href="#" +		      > <a href="#" title="Data.Int"  		      >Int</a  		      ></span  		    > <a href="#" class="selflink" @@ -1636,15 +1724,19 @@  		  ><details id="i:ic:D:D:2"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs methods" +		      ><p +		      >Defined in <a href="#" +			>Test</a +			></p +		      > <div class="subs methods"  		      ><p class="caption"  			>Methods</p  			><p class="src"  			><a href="#"  			  >d</a -			  > :: <a href="#" +			  > :: <a href="#" title="Test"  			  >T</a -			  > <a href="#" +			  > <a href="#" title="Data.Int"  			  >Int</a  			  > b <a href="#" class="selflink"  			  >#</a @@ -1652,9 +1744,9 @@  			><p class="src"  			><a href="#"  			  >e</a -			  > :: (<a href="#" +			  > :: (<a href="#" title="Data.Int"  			  >Int</a -			  >, <a href="#" +			  >, <a href="#" title="Data.Int"  			  >Int</a  			  >) <a href="#" class="selflink"  			  >#</a @@ -1702,7 +1794,7 @@  	  ><p class="caption"  	    >Minimal complete definition</p  	    ><p class="src" -	    ><a href="#" +	    ><a href="#" title="Test"  	      >ff</a  	      ></p  	    ></div @@ -1725,9 +1817,9 @@  	><p class="src"  	  ><a id="v:a" class="def"  	    >a</a -	    > :: <a href="#" +	    > :: <a href="#" title="Test"  	    >C</a -	    > a => <a href="#" +	    > a => <a href="#" title="System.IO"  	    >IO</a  	    > a <a href="#" class="selflink"  	    >#</a @@ -1735,21 +1827,23 @@  	  ><div class="doc"  	  ><p  	    >this is a description of the <code -	      ><a href="#" +	      ><a href="#" title="Test"  		>a</a  		></code  	      > method</p  	    ></div  	  ></div -	><h1 id="g:5" -	>Function types</h1 +	><a href="#" id="g:5" +	><h1 +	  >Function types</h1 +	  ></a  	><div class="top"  	><p class="src"  	  ><a id="v:f" class="def"  	    >f</a -	    > :: <a href="#" +	    > :: <a href="#" title="Test"  	    >C</a -	    > a => a -> <a href="#" +	    > a => a -> <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a @@ -1758,7 +1852,7 @@  	  ><p  	    >In a comment string we can refer to identifiers in scope with  single quotes like this: <code -	      ><a href="#" +	      ><a href="#" title="Test"  		>T</a  		></code  	      >, and we can refer to modules by @@ -1791,7 +1885,7 @@ using double quotes: <a href="#"  	      ></dl  	    ><pre  	    >     This is a block of code, which can include other markup: <code -	      ><a href="#" +	      ><a href="#" title="Test"  		>R</a  		></code  	      > @@ -1811,9 +1905,9 @@ using double quotes: <a href="#"  	><p class="src"  	  ><a id="v:g" class="def"  	    >g</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a -	    > -> <a href="#" +	    > -> <a href="#" title="System.IO"  	    >IO</a  	    > CInt <a href="#" class="selflink"  	    >#</a @@ -1823,8 +1917,10 @@ using double quotes: <a href="#"  	    >we can export foreign declarations too</p  	    ></div  	  ></div -	><h1 id="g:6" -	>Auxiliary stuff</h1 +	><a href="#" id="g:6" +	><h1 +	  >Auxiliary stuff</h1 +	  ></a  	><div class="doc"  	><p  	  >This is some documentation that is attached to a name ($aux1) @@ -1916,22 +2012,26 @@ test2  each line must begin with > (which isn't significant unless it  is at the beginning of the line).</pre  	  ></div -	><h1 id="g:7" -	>A hidden module</h1 +	><a href="#" id="g:7" +	><h1 +	  >A hidden module</h1 +	  ></a  	><div class="top"  	><p class="src"  	  ><a id="v:hidden" class="def"  	    >hidden</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a -	    > -> <a href="#" +	    > -> <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a  	    ></p  	  ></div -	><h1 id="g:8" -	>A visible module</h1 +	><a href="#" id="g:8" +	><h1 +	  >A visible module</h1 +	  ></a  	><div class="top"  	><p class="src"  	  >module <a href="#" @@ -1942,8 +2042,10 @@ is at the beginning of the line).</pre  	><p  	  >nested-style doc comments </p  	  ></div -	><h1 id="g:9" -	>Existential / Universal types</h1 +	><a href="#" id="g:9" +	><h1 +	  >Existential / Universal types</h1 +	  ></a  	><div class="top"  	><p class="src"  	  ><span class="keyword" @@ -1963,7 +2065,7 @@ is at the beginning of the line).</pre  	    ><table  	    ><tr  	      ><td class="src" -		><a href="#" +		><a href="#" title="Test"  		  >C</a  		  > b => <a id="v:Ex1" class="def"  		  >Ex1</a @@ -1981,7 +2083,7 @@ is at the beginning of the line).</pre  		></tr  	      ><tr  	      ><td class="src" -		><a href="#" +		><a href="#" title="Test"  		  >C</a  		  > a => <a id="v:Ex3" class="def"  		  >Ex3</a @@ -2002,8 +2104,10 @@ is at the beginning of the line).</pre  	      ></table  	    ></div  	  ></div -	><h1 id="g:10" -	>Type signatures with argument docs</h1 +	><a href="#" id="g:10" +	><h1 +	  >Type signatures with argument docs</h1 +	  ></a  	><div class="top"  	><p class="src"  	  ><a id="v:k" class="def" @@ -2017,13 +2121,13 @@ is at the beginning of the line).</pre  	    ><table  	    ><tr  	      ><td class="src" -		>:: <a href="#" +		>:: <a href="#" title="Test"  		  >T</a  		  > () ()</td  		><td class="doc"  		><p  		  >This argument has type <code -		    ><a href="#" +		    ><a href="#" title="Test"  		      >T</a  		      ></code  		    ></p @@ -2031,11 +2135,11 @@ is at the beginning of the line).</pre  		></tr  	      ><tr  	      ><td class="src" -		>-> <a href="#" +		>-> <a href="#" title="Test"  		  >T2</a -		  > <a href="#" +		  > <a href="#" title="Data.Int"  		  >Int</a -		  > <a href="#" +		  > <a href="#" title="Data.Int"  		  >Int</a  		  ></td  		><td class="doc" @@ -2045,17 +2149,17 @@ is at the beginning of the line).</pre  		></tr  	      ><tr  	      ><td class="src" -		>-> (<a href="#" +		>-> (<a href="#" title="Test"  		  >T3</a -		  > <a href="#" +		  > <a href="#" title="Data.Bool"  		  >Bool</a -		  > <a href="#" +		  > <a href="#" title="Data.Bool"  		  >Bool</a -		  > -> <a href="#" +		  > -> <a href="#" title="Test"  		  >T4</a -		  > <a href="#" +		  > <a href="#" title="Prelude"  		  >Float</a -		  > <a href="#" +		  > <a href="#" title="Prelude"  		  >Float</a  		  >)</td  		><td class="doc" @@ -2067,7 +2171,7 @@ is at the beginning of the line).</pre  		></tr  	      ><tr  	      ><td class="src" -		>-> <a href="#" +		>-> <a href="#" title="Test"  		  >T5</a  		  > () ()</td  		><td class="doc" @@ -2079,7 +2183,7 @@ is at the beginning of the line).</pre  		></tr  	      ><tr  	      ><td class="src" -		>-> <a href="#" +		>-> <a href="#" title="System.IO"  		  >IO</a  		  > ()</td  		><td class="doc" @@ -2107,11 +2211,11 @@ is at the beginning of the line).</pre  	    ><table  	    ><tr  	      ><td class="src" -		>:: (<a href="#" +		>:: (<a href="#" title="Data.Int"  		  >Int</a -		  >, <a href="#" +		  >, <a href="#" title="Data.Int"  		  >Int</a -		  >, <a href="#" +		  >, <a href="#" title="Prelude"  		  >Float</a  		  >)</td  		><td class="doc" @@ -2121,13 +2225,13 @@ is at the beginning of the line).</pre  		></tr  	      ><tr  	      ><td class="src" -		>-> <a href="#" +		>-> <a href="#" title="Data.Int"  		  >Int</a  		  ></td  		><td class="doc"  		><p  		  >returns an <code -		    ><a href="#" +		    ><a href="#" title="Data.Int"  		      >Int</a  		      ></code  		    ></p @@ -2149,7 +2253,7 @@ is at the beginning of the line).</pre  	    ><table  	    ><tr  	      ><td class="src" -		>:: <a href="#" +		>:: <a href="#" title="Test"  		  >R</a  		  ></td  		><td class="doc empty" @@ -2157,7 +2261,7 @@ is at the beginning of the line).</pre  		></tr  	      ><tr  	      ><td class="src" -		>-> <a href="#" +		>-> <a href="#" title="Test"  		  >N1</a  		  > ()</td  		><td class="doc" @@ -2167,9 +2271,9 @@ is at the beginning of the line).</pre  		></tr  	      ><tr  	      ><td class="src" -		>-> <a href="#" +		>-> <a href="#" title="System.IO"  		  >IO</a -		  > <a href="#" +		  > <a href="#" title="Data.Int"  		  >Int</a  		  ></td  		><td class="doc" @@ -2197,7 +2301,7 @@ is at the beginning of the line).</pre  	    ><table  	    ><tr  	      ><td class="src" -		>:: <a href="#" +		>:: <a href="#" title="Prelude"  		  >Float</a  		  ></td  		><td class="doc" @@ -2207,9 +2311,9 @@ is at the beginning of the line).</pre  		></tr  	      ><tr  	      ><td class="src" -		>-> <a href="#" +		>-> <a href="#" title="System.IO"  		  >IO</a -		  > <a href="#" +		  > <a href="#" title="Prelude"  		  >Float</a  		  ></td  		><td class="doc" @@ -2224,10 +2328,14 @@ is at the beginning of the line).</pre  	    >A foreign import with argument docs</p  	    ></div  	  ></div -	><h1 id="g:11" -	>A section</h1 -	><h2 id="g:12" -	>A subsection</h2 +	><a href="#" id="g:11" +	><h1 +	  >A section</h1 +	  ></a +	><a href="#" id="g:12" +	><h2 +	  >A subsection</h2 +	  ></a  	><div class="doc"  	><pre  	  >a literal line</pre @@ -2240,7 +2348,7 @@ is at the beginning of the line).</pre  	><p class="src"  	  ><a id="v:f-39-" class="def"  	    >f'</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a @@ -2248,7 +2356,7 @@ is at the beginning of the line).</pre  	  ><div class="doc"  	  ><p  	    >a function with a prime can be referred to as <code -	      ><a href="#" +	      ><a href="#" title="Test"  		>f'</a  		></code  	      > @@ -2259,7 +2367,7 @@ is at the beginning of the line).</pre  	><p class="src"  	  ><a id="v:withType" class="def"  	    >withType</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a diff --git a/html-test/ref/Threaded.html b/html-test/ref/Threaded.html index 836a4db2..e52ca96b 100644 --- a/html-test/ref/Threaded.html +++ b/html-test/ref/Threaded.html @@ -56,7 +56,7 @@  	  ><li class="src short"  	    ><a href="#"  	      >f</a -	      > :: <a href="#" +	      > :: <a href="#" title="Prelude"  	      >Integer</a  	      ></li  	    ></ul @@ -69,7 +69,7 @@  	><p class="src"  	  ><a id="v:f" class="def"  	    >f</a -	    > :: <a href="#" +	    > :: <a href="#" title="Prelude"  	    >Integer</a  	    > <a href="#" class="selflink"  	    >#</a diff --git a/html-test/ref/Threaded_TH.html b/html-test/ref/Threaded_TH.html index 7f80b127..14ebe8a9 100644 --- a/html-test/ref/Threaded_TH.html +++ b/html-test/ref/Threaded_TH.html @@ -57,7 +57,11 @@  	  ><li class="src short"  	    ><a href="#"  	      >forkTH</a -	      > :: Q Exp</li +	      > :: <a href="#" title="Language.Haskell.TH.Syntax" +	      >Q</a +	      > <a href="#" title="Language.Haskell.TH.Syntax" +	      >Exp</a +	      ></li  	    ></ul  	  ></details  	></div @@ -68,7 +72,11 @@  	><p class="src"  	  ><a id="v:forkTH" class="def"  	    >forkTH</a -	    > :: Q Exp <a href="#" class="selflink" +	    > :: <a href="#" title="Language.Haskell.TH.Syntax" +	    >Q</a +	    > <a href="#" title="Language.Haskell.TH.Syntax" +	    >Exp</a +	    > <a href="#" class="selflink"  	    >#</a  	    ></p  	  ><div class="doc" diff --git a/html-test/ref/Ticket112.html b/html-test/ref/Ticket112.html index ccd39ff0..00258deb 100644 --- a/html-test/ref/Ticket112.html +++ b/html-test/ref/Ticket112.html @@ -63,7 +63,7 @@  	  ><div class="doc"  	  ><p  	    >...given a raw <code -	      ><a href="#" +	      ><a href="#" title="GHC.Exts"  		>Addr#</a  		></code  	      > to the string, and the length of the string.</p diff --git a/html-test/ref/Ticket61.html b/html-test/ref/Ticket61.html index 2581584a..e70ee3bd 100644 --- a/html-test/ref/Ticket61.html +++ b/html-test/ref/Ticket61.html @@ -56,7 +56,7 @@  	  ><p class="caption"  	    >Minimal complete definition</p  	    ><p class="src" -	    ><a href="#" +	    ><a href="#" title="Ticket61"  	      >f</a  	      ></p  	    ></div diff --git a/html-test/ref/Ticket75.html b/html-test/ref/Ticket75.html index 488913b1..70919c1b 100644 --- a/html-test/ref/Ticket75.html +++ b/html-test/ref/Ticket75.html @@ -54,7 +54,7 @@  	    ><li class="src short"  	    ><a href="#"  	      >f</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ></ul @@ -91,7 +91,7 @@  	><p class="src"  	  ><a id="v:f" class="def"  	    >f</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a @@ -99,7 +99,7 @@  	  ><div class="doc"  	  ><p  	    >A reference to <code -	      ><a href="#" +	      ><a href="#" title="Ticket75"  		>:-</a  		></code  	      ></p diff --git a/html-test/ref/TitledPicture.html b/html-test/ref/TitledPicture.html index 966c2a34..eb6c12f4 100644 --- a/html-test/ref/TitledPicture.html +++ b/html-test/ref/TitledPicture.html @@ -46,13 +46,13 @@  	  ><li class="src short"  	    ><a href="#"  	      >foo</a -	      > :: <a href="#" +	      > :: <a href="#" title="Prelude"  	      >Integer</a  	      ></li  	    ><li class="src short"  	    ><a href="#"  	      >bar</a -	      > :: <a href="#" +	      > :: <a href="#" title="Prelude"  	      >Integer</a  	      ></li  	    ></ul @@ -65,7 +65,7 @@  	><p class="src"  	  ><a id="v:foo" class="def"  	    >foo</a -	    > :: <a href="#" +	    > :: <a href="#" title="Prelude"  	    >Integer</a  	    > <a href="#" class="selflink"  	    >#</a @@ -73,7 +73,7 @@  	  ><div class="doc"  	  ><p  	    >Picture for <code -	      ><a href="#" +	      ><a href="#" title="TitledPicture"  		>foo</a  		></code  	      > without a title <img src="bar" @@ -84,7 +84,7 @@  	><p class="src"  	  ><a id="v:bar" class="def"  	    >bar</a -	    > :: <a href="#" +	    > :: <a href="#" title="Prelude"  	    >Integer</a  	    > <a href="#" class="selflink"  	    >#</a @@ -92,7 +92,7 @@  	  ><div class="doc"  	  ><p  	    >Picture for <code -	      ><a href="#" +	      ><a href="#" title="TitledPicture"  		>bar</a  		></code  	      > with title <img src="un∣∁∘" title="δ∈" diff --git a/html-test/ref/TypeFamilies.html b/html-test/ref/TypeFamilies.html index dcb5a92a..190f376e 100644 --- a/html-test/ref/TypeFamilies.html +++ b/html-test/ref/TypeFamilies.html @@ -110,7 +110,7 @@  	      >data family</span  	      > <a href="#"  	      >Bat</a -	      > (a :: k) :: <a href="#" +	      > (a :: k) :: <a href="#" title="Data.Kind"  	      >*</a  	      ></li  	    ><li class="src short" @@ -126,7 +126,7 @@  		  >data</span  		  > <a href="#"  		  >AssocD</a -		  > a :: <a href="#" +		  > a :: <a href="#" title="Data.Kind"  		  >*</a  		  ></li  		><li @@ -134,7 +134,7 @@  		  >type</span  		  > <a href="#"  		  >AssocT</a -		  > a :: <a href="#" +		  > a :: <a href="#" title="Data.Kind"  		  >*</a  		  ></li  		></ul @@ -224,13 +224,11 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:id:X:-62--60-:1"  		      ></span -		      > <a href="#" -		      >(><)</a -		      > <a href="#" -		      >X</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >XX</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies" +		      >><</a +		      > <a href="#" title="TypeFamilies"  		      >XXX</a  		      ></span  		    > <a href="#" class="selflink" @@ -244,6 +242,10 @@  		  ><details id="i:id:X:-62--60-:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p  		      ></details  		    ></td  		  ></tr @@ -252,11 +254,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:id:X:Assoc:2"  		      ></span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Assoc</a -		      > <a href="#" -		      >*</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >X</a  		      ></span  		    > <a href="#" class="selflink" @@ -272,19 +272,21 @@  		  ><details id="i:id:X:Assoc:2"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs associated-types" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p +		      > <div class="subs associated-types"  		      ><p class="caption"  			>Associated Types</p  			><p class="src"  			><span class="keyword"  			  >data</span -			  > <a href="#" +			  > <a href="#" title="TypeFamilies"  			  >AssocD</a -			  > <a href="#" -			  >X</a -			  > (a :: <a href="#" +			  > <a href="#" title="TypeFamilies"  			  >X</a -			  >) :: <a href="#" +			  > :: <a href="#" title="Data.Kind"  			  >*</a  			  > <a href="#" class="selflink"  			  >#</a @@ -292,13 +294,11 @@  			><p class="src"  			><span class="keyword"  			  >type</span -			  > <a href="#" +			  > <a href="#" title="TypeFamilies"  			  >AssocT</a -			  > <a href="#" +			  > <a href="#" title="TypeFamilies"  			  >X</a -			  > (a :: <a href="#" -			  >X</a -			  >) :: <a href="#" +			  > :: <a href="#" title="Data.Kind"  			  >*</a  			  > <a href="#" class="selflink"  			  >#</a @@ -312,11 +312,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:id:X:Test:3"  		      ></span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Test</a -		      > <a href="#" -		      >*</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >X</a  		      ></span  		    > <a href="#" class="selflink" @@ -332,6 +330,10 @@  		  ><details id="i:id:X:Test:3"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p  		      ></details  		    ></td  		  ></tr @@ -342,9 +344,9 @@  		      ></span  		      > <span class="keyword"  		      >type</span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies2"  		      >Foo</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >X</a  		      ></span  		    > <a href="#" class="selflink" @@ -358,14 +360,18 @@  		  ><details id="i:id:X:Foo:4"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>type</span -			> <a href="#" +			> <a href="#" title="TypeFamilies2"  			>Foo</a -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>X</a -			> = <a href="#" +			> = <a href="#" title="TypeFamilies"  			>Y</a  			></div  		      ></details @@ -378,13 +384,11 @@  		      ></span  		      > <span class="keyword"  		      >type</span -		      > <a href="#" -		      >(<>)</a -		      > <a href="#" -		      >X</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >XXX</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies" +		      ><></a +		      > <a href="#" title="TypeFamilies"  		      >XX</a  		      ></span  		    > <a href="#" class="selflink" @@ -398,18 +402,20 @@  		  ><details id="i:id:X:-60--62-:5"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>type</span -			> <a href="#" -			>(<>)</a -			> <a href="#" -			>X</a -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>XXX</a -			> <a href="#" +			> <a href="#" title="TypeFamilies" +			><></a +			> <a href="#" title="TypeFamilies"  			>XX</a -			> = <a href="#" +			> = <a href="#" title="TypeFamilies"  			>X</a  			></div  		      ></details @@ -422,11 +428,9 @@  		      ></span  		      > <span class="keyword"  		      >data</span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >AssocD</a -		      > <a href="#" -		      >*</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >X</a  		      ></span  		    > <a href="#" class="selflink" @@ -440,14 +444,16 @@  		  ><details id="i:id:X:AssocD:6"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>data</span -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>AssocD</a -			> <a href="#" -			>*</a -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>X</a  			> = <a id="v:AssocX" class="def"  			>AssocX</a @@ -462,11 +468,9 @@  		      ></span  		      > <span class="keyword"  		      >type</span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >AssocT</a -		      > <a href="#" -		      >*</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >X</a  		      ></span  		    > <a href="#" class="selflink" @@ -480,22 +484,24 @@  		  ><details id="i:id:X:AssocT:7"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>type</span -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>AssocT</a -			> <a href="#" -			>*</a -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>X</a -			> = <a href="#" +			> = (<a href="#" title="TypeFamilies"  			>Foo</a -			> <a href="#" -			>*</a -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>X</a -			></div +			> :: <a href="#" title="Data.Kind" +			>*</a +			>)</div  		      ></details  		    ></td  		  ></tr @@ -506,11 +512,9 @@  		      ></span  		      > <span class="keyword"  		      >data</span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Bat</a -		      > <a href="#" -		      >*</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >X</a  		      ></span  		    > <a href="#" class="selflink" @@ -526,20 +530,22 @@  		  ><details id="i:id:X:Bat:8"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>data</span -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>Bat</a -			> <a href="#" -			>*</a -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>X</a  			> <ul class="inst"  			><li class="inst"  			  >= <a id="v:BatX" class="def"  			    >BatX</a -			    > <a href="#" +			    > <a href="#" title="TypeFamilies"  			    >X</a  			    ></li  			  ><li class="inst" @@ -549,13 +555,13 @@  			    ><li  			      ><a id="v:aaa" class="def"  				>aaa</a -				> :: <a href="#" +				> :: <a href="#" title="TypeFamilies"  				>X</a  				></li  			      ><li  			      ><a id="v:bbb" class="def"  				>bbb</a -				> :: <a href="#" +				> :: <a href="#" title="TypeFamilies"  				>Y</a  				></li  			      ></ul @@ -572,11 +578,9 @@  		      ></span  		      > <span class="keyword"  		      >type</span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Foo</a -		      > <a href="#" -		      >*</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >X</a  		      ></span  		    > <a href="#" class="selflink" @@ -590,16 +594,18 @@  		  ><details id="i:id:X:Foo:9"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>type</span -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>Foo</a -			> <a href="#" -			>*</a -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>X</a -			> = <a href="#" +			> = <a href="#" title="TypeFamilies"  			>Y</a  			></div  		      ></details @@ -612,13 +618,13 @@  		      ></span  		      > <span class="keyword"  		      >type</span -		      > <a href="#" -		      >(<>)</a -		      > <a href="#" -		      >*</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >X</a -		      > a</span +		      > <a href="#" title="TypeFamilies" +		      ><></a +		      > (a :: <a href="#" title="Data.Kind" +		      >*</a +		      >)</span  		    > <a href="#" class="selflink"  		    >#</a  		    ></td @@ -630,16 +636,20 @@  		  ><details id="i:id:X:-60--62-:10"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>type</span -			> <a href="#" -			>(<>)</a -			> <a href="#" -			>*</a -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>X</a -			> a = <a href="#" +			> <a href="#" title="TypeFamilies" +			><></a +			> (a :: <a href="#" title="Data.Kind" +			>*</a +			>) = <a href="#" title="TypeFamilies"  			>X</a  			></div  		      ></details @@ -672,11 +682,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:id:Y:Assoc:1"  		      ></span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Assoc</a -		      > <a href="#" -		      >*</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Y</a  		      ></span  		    > <a href="#" class="selflink" @@ -692,19 +700,21 @@  		  ><details id="i:id:Y:Assoc:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs associated-types" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p +		      > <div class="subs associated-types"  		      ><p class="caption"  			>Associated Types</p  			><p class="src"  			><span class="keyword"  			  >data</span -			  > <a href="#" +			  > <a href="#" title="TypeFamilies"  			  >AssocD</a -			  > <a href="#" +			  > <a href="#" title="TypeFamilies"  			  >Y</a -			  > (a :: <a href="#" -			  >Y</a -			  >) :: <a href="#" +			  > :: <a href="#" title="Data.Kind"  			  >*</a  			  > <a href="#" class="selflink"  			  >#</a @@ -712,13 +722,11 @@  			><p class="src"  			><span class="keyword"  			  >type</span -			  > <a href="#" +			  > <a href="#" title="TypeFamilies"  			  >AssocT</a -			  > <a href="#" -			  >Y</a -			  > (a :: <a href="#" +			  > <a href="#" title="TypeFamilies"  			  >Y</a -			  >) :: <a href="#" +			  > :: <a href="#" title="Data.Kind"  			  >*</a  			  > <a href="#" class="selflink"  			  >#</a @@ -732,11 +740,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:id:Y:Test:2"  		      ></span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Test</a -		      > <a href="#" -		      >*</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Y</a  		      ></span  		    > <a href="#" class="selflink" @@ -752,6 +758,10 @@  		  ><details id="i:id:Y:Test:2"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p  		      ></details  		    ></td  		  ></tr @@ -762,9 +772,9 @@  		      ></span  		      > <span class="keyword"  		      >data</span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies2"  		      >Bar</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Y</a  		      ></span  		    > <a href="#" class="selflink" @@ -778,12 +788,16 @@  		  ><details id="i:id:Y:Bar:3"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>data</span -			> <a href="#" +			> <a href="#" title="TypeFamilies2"  			>Bar</a -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>Y</a  			></div  		      ></details @@ -796,11 +810,9 @@  		      ></span  		      > <span class="keyword"  		      >data</span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >AssocD</a -		      > <a href="#" -		      >*</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Y</a  		      ></span  		    > <a href="#" class="selflink" @@ -814,14 +826,16 @@  		  ><details id="i:id:Y:AssocD:4"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>data</span -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>AssocD</a -			> <a href="#" -			>*</a -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>Y</a  			> = <a id="v:AssocY" class="def"  			>AssocY</a @@ -836,11 +850,9 @@  		      ></span  		      > <span class="keyword"  		      >type</span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >AssocT</a -		      > <a href="#" -		      >*</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Y</a  		      ></span  		    > <a href="#" class="selflink" @@ -854,20 +866,20 @@  		  ><details id="i:id:Y:AssocT:5"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>type</span -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>AssocT</a -			> <a href="#" -			>*</a -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>Y</a -			> = <a href="#" +			> = <a href="#" title="TypeFamilies"  			>Bat</a -			> <a href="#" -			>*</a -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>Y</a  			></div  		      ></details @@ -880,11 +892,9 @@  		      ></span  		      > <span class="keyword"  		      >data</span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Bat</a -		      > <a href="#" -		      >*</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Y</a  		      ></span  		    > <a href="#" class="selflink" @@ -900,18 +910,20 @@  		  ><details id="i:id:Y:Bat:6"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>data</span -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>Bat</a -			> <a href="#" -			>*</a -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>Y</a  			> = <a id="v:BatY" class="def"  			>BatY</a -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>Y</a  			></div  		      ></details @@ -924,11 +936,9 @@  		      ></span  		      > <span class="keyword"  		      >type</span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Foo</a -		      > <a href="#" -		      >*</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Y</a  		      ></span  		    > <a href="#" class="selflink" @@ -942,16 +952,18 @@  		  ><details id="i:id:Y:Foo:7"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>type</span -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>Foo</a -			> <a href="#" -			>*</a -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>Y</a -			> = <a href="#" +			> = <a href="#" title="TypeFamilies"  			>X</a  			></div  		      ></details @@ -964,13 +976,13 @@  		      ></span  		      > <span class="keyword"  		      >type</span -		      > <a href="#" -		      >(<>)</a -		      > <a href="#" -		      >*</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Y</a -		      > a</span +		      > <a href="#" title="TypeFamilies" +		      ><></a +		      > (a :: <a href="#" title="Data.Kind" +		      >*</a +		      >)</span  		    > <a href="#" class="selflink"  		    >#</a  		    ></td @@ -982,16 +994,20 @@  		  ><details id="i:id:Y:-60--62-:8"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>type</span -			> <a href="#" -			>(<>)</a -			> <a href="#" -			>*</a -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>Y</a -			> a = a</div +			> <a href="#" title="TypeFamilies" +			><></a +			> (a :: <a href="#" title="Data.Kind" +			>*</a +			>) = a</div  		      ></details  		    ></td  		  ></tr @@ -1046,11 +1062,11 @@  		      ></span  		      > <span class="keyword"  		      >data</span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Bat</a -		      > <a href="#" +		      > (z :: <a href="#" title="TypeFamilies"  		      >Z</a -		      ></span +		      >)</span  		    > <a href="#" class="selflink"  		    >#</a  		    ></td @@ -1064,34 +1080,34 @@  		  ><details id="i:id:Z:Bat:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>data</span -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>Bat</a -			> <a href="#" +			> (z :: <a href="#" title="TypeFamilies"  			>Z</a -			> <span class="keyword" +			>) <span class="keyword"  			>where</span  			><ul class="inst"  			><li class="inst"  			  ><a id="v:BatZ1" class="def"  			    >BatZ1</a -			    > :: <a href="#" +			    > :: <a href="#" title="TypeFamilies"  			    >Bat</a -			    > <a href="#" -			    >Z</a -			    > <a href="#" +			    > <a href="#" title="TypeFamilies"  			    >ZA</a  			    ></li  			  ><li class="inst"  			  ><a id="v:BatZ2" class="def"  			    >BatZ2</a -			    > :: <a href="#" +			    > :: <a href="#" title="TypeFamilies"  			    >Bat</a -			    > <a href="#" -			    >Z</a -			    > <a href="#" +			    > <a href="#" title="TypeFamilies"  			    >ZB</a  			    ></li  			  ></ul @@ -1126,11 +1142,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Test:Test:1"  		      ></span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Test</a -		      > <a href="#" -		      >*</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Y</a  		      ></span  		    > <a href="#" class="selflink" @@ -1146,6 +1160,10 @@  		  ><details id="i:ic:Test:Test:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p  		      ></details  		    ></td  		  ></tr @@ -1154,11 +1172,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Test:Test:2"  		      ></span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Test</a -		      > <a href="#" -		      >*</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >X</a  		      ></span  		    > <a href="#" class="selflink" @@ -1174,6 +1190,10 @@  		  ><details id="i:ic:Test:Test:2"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p  		      ></details  		    ></td  		  ></tr @@ -1206,11 +1226,9 @@  		      ></span  		      > <span class="keyword"  		      >type</span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Foo</a -		      > <a href="#" -		      >*</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Y</a  		      ></span  		    > <a href="#" class="selflink" @@ -1224,16 +1242,18 @@  		  ><details id="i:if:Foo:Foo:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>type</span -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>Foo</a -			> <a href="#" -			>*</a -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>Y</a -			> = <a href="#" +			> = <a href="#" title="TypeFamilies"  			>X</a  			></div  		      ></details @@ -1246,11 +1266,9 @@  		      ></span  		      > <span class="keyword"  		      >type</span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Foo</a -		      > <a href="#" -		      >*</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >X</a  		      ></span  		    > <a href="#" class="selflink" @@ -1264,16 +1282,18 @@  		  ><details id="i:if:Foo:Foo:2"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>type</span -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>Foo</a -			> <a href="#" -			>*</a -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>X</a -			> = <a href="#" +			> = <a href="#" title="TypeFamilies"  			>Y</a  			></div  		      ></details @@ -1289,7 +1309,7 @@  	    >data family</span  	    > <a id="t:Bat" class="def"  	    >Bat</a -	    > (a :: k) :: <a href="#" +	    > (a :: k) :: <a href="#" title="Data.Kind"  	    >*</a  	    > <a href="#" class="selflink"  	    >#</a @@ -1310,11 +1330,11 @@  		      ></span  		      > <span class="keyword"  		      >data</span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Bat</a -		      > <a href="#" +		      > (z :: <a href="#" title="TypeFamilies"  		      >Z</a -		      ></span +		      >)</span  		    > <a href="#" class="selflink"  		    >#</a  		    ></td @@ -1328,34 +1348,34 @@  		  ><details id="i:if:Bat:Bat:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>data</span -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>Bat</a -			> <a href="#" +			> (z :: <a href="#" title="TypeFamilies"  			>Z</a -			> <span class="keyword" +			>) <span class="keyword"  			>where</span  			><ul class="inst"  			><li class="inst"  			  ><a id="v:BatZ1" class="def"  			    >BatZ1</a -			    > :: <a href="#" +			    > :: <a href="#" title="TypeFamilies"  			    >Bat</a -			    > <a href="#" -			    >Z</a -			    > <a href="#" +			    > <a href="#" title="TypeFamilies"  			    >ZA</a  			    ></li  			  ><li class="inst"  			  ><a id="v:BatZ2" class="def"  			    >BatZ2</a -			    > :: <a href="#" +			    > :: <a href="#" title="TypeFamilies"  			    >Bat</a -			    > <a href="#" -			    >Z</a -			    > <a href="#" +			    > <a href="#" title="TypeFamilies"  			    >ZB</a  			    ></li  			  ></ul @@ -1370,11 +1390,9 @@  		      ></span  		      > <span class="keyword"  		      >data</span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Bat</a -		      > <a href="#" -		      >*</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Y</a  		      ></span  		    > <a href="#" class="selflink" @@ -1390,18 +1408,20 @@  		  ><details id="i:if:Bat:Bat:2"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>data</span -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>Bat</a -			> <a href="#" -			>*</a -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>Y</a  			> = <a id="v:BatY" class="def"  			>BatY</a -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>Y</a  			></div  		      ></details @@ -1414,11 +1434,9 @@  		      ></span  		      > <span class="keyword"  		      >data</span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Bat</a -		      > <a href="#" -		      >*</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >X</a  		      ></span  		    > <a href="#" class="selflink" @@ -1434,20 +1452,22 @@  		  ><details id="i:if:Bat:Bat:3"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>data</span -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>Bat</a -			> <a href="#" -			>*</a -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>X</a  			> <ul class="inst"  			><li class="inst"  			  >= <a id="v:BatX" class="def"  			    >BatX</a -			    > <a href="#" +			    > <a href="#" title="TypeFamilies"  			    >X</a  			    ></li  			  ><li class="inst" @@ -1457,13 +1477,13 @@  			    ><li  			      ><a id="v:aaa" class="def"  				>aaa</a -				> :: <a href="#" +				> :: <a href="#" title="TypeFamilies"  				>X</a  				></li  			      ><li  			      ><a id="v:bbb" class="def"  				>bbb</a -				> :: <a href="#" +				> :: <a href="#" title="TypeFamilies"  				>Y</a  				></li  			      ></ul @@ -1498,7 +1518,7 @@  	      >data</span  	      > <a id="t:AssocD" class="def"  	      >AssocD</a -	      > a :: <a href="#" +	      > a :: <a href="#" title="Data.Kind"  	      >*</a  	      > <a href="#" class="selflink"  	      >#</a @@ -1512,7 +1532,7 @@  	      >type</span  	      > <a id="t:AssocT" class="def"  	      >AssocT</a -	      > a :: <a href="#" +	      > a :: <a href="#" title="Data.Kind"  	      >*</a  	      > <a href="#" class="selflink"  	      >#</a @@ -1532,11 +1552,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Assoc:Assoc:1"  		      ></span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Assoc</a -		      > <a href="#" -		      >*</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Y</a  		      ></span  		    > <a href="#" class="selflink" @@ -1552,19 +1570,21 @@  		  ><details id="i:ic:Assoc:Assoc:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs associated-types" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p +		      > <div class="subs associated-types"  		      ><p class="caption"  			>Associated Types</p  			><p class="src"  			><span class="keyword"  			  >data</span -			  > <a href="#" +			  > <a href="#" title="TypeFamilies"  			  >AssocD</a -			  > <a href="#" +			  > <a href="#" title="TypeFamilies"  			  >Y</a -			  > (a :: <a href="#" -			  >Y</a -			  >) :: <a href="#" +			  > :: <a href="#" title="Data.Kind"  			  >*</a  			  > <a href="#" class="selflink"  			  >#</a @@ -1572,13 +1592,11 @@  			><p class="src"  			><span class="keyword"  			  >type</span -			  > <a href="#" +			  > <a href="#" title="TypeFamilies"  			  >AssocT</a -			  > <a href="#" -			  >Y</a -			  > (a :: <a href="#" +			  > <a href="#" title="TypeFamilies"  			  >Y</a -			  >) :: <a href="#" +			  > :: <a href="#" title="Data.Kind"  			  >*</a  			  > <a href="#" class="selflink"  			  >#</a @@ -1592,11 +1610,9 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Assoc:Assoc:2"  		      ></span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Assoc</a -		      > <a href="#" -		      >*</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >X</a  		      ></span  		    > <a href="#" class="selflink" @@ -1612,19 +1628,21 @@  		  ><details id="i:ic:Assoc:Assoc:2"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="subs associated-types" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p +		      > <div class="subs associated-types"  		      ><p class="caption"  			>Associated Types</p  			><p class="src"  			><span class="keyword"  			  >data</span -			  > <a href="#" +			  > <a href="#" title="TypeFamilies"  			  >AssocD</a -			  > <a href="#" +			  > <a href="#" title="TypeFamilies"  			  >X</a -			  > (a :: <a href="#" -			  >X</a -			  >) :: <a href="#" +			  > :: <a href="#" title="Data.Kind"  			  >*</a  			  > <a href="#" class="selflink"  			  >#</a @@ -1632,13 +1650,11 @@  			><p class="src"  			><span class="keyword"  			  >type</span -			  > <a href="#" +			  > <a href="#" title="TypeFamilies"  			  >AssocT</a -			  > <a href="#" -			  >X</a -			  > (a :: <a href="#" +			  > <a href="#" title="TypeFamilies"  			  >X</a -			  >) :: <a href="#" +			  > :: <a href="#" title="Data.Kind"  			  >*</a  			  > <a href="#" class="selflink"  			  >#</a @@ -1672,11 +1688,11 @@  	    ><table  	    ><tr  	      ><td class="src" -		><a href="#" +		><a href="#" title="TypeFamilies"  		  >Bar</a -		  > <a href="#" +		  > <a href="#" title="TypeFamilies"  		  >X</a -		  > = <a href="#" +		  > = <a href="#" title="TypeFamilies"  		  >X</a  		  ></td  		><td class="doc empty" @@ -1684,9 +1700,9 @@  		></tr  	      ><tr  	      ><td class="src" -		><a href="#" +		><a href="#" title="TypeFamilies"  		  >Bar</a -		  > y = <a href="#" +		  > y = <a href="#" title="TypeFamilies"  		  >Y</a  		  ></td  		><td class="doc empty" @@ -1716,13 +1732,11 @@  		      ></span  		      > <span class="keyword"  		      >type</span -		      > <a href="#" -		      >(<>)</a -		      > <a href="#" -		      >X</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >XXX</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies" +		      ><></a +		      > <a href="#" title="TypeFamilies"  		      >XX</a  		      ></span  		    > <a href="#" class="selflink" @@ -1736,18 +1750,20 @@  		  ><details id="i:if:-60--62-:-60--62-:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>type</span -			> <a href="#" -			>(<>)</a -			> <a href="#" -			>X</a -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>XXX</a -			> <a href="#" +			> <a href="#" title="TypeFamilies" +			><></a +			> <a href="#" title="TypeFamilies"  			>XX</a -			> = <a href="#" +			> = <a href="#" title="TypeFamilies"  			>X</a  			></div  		      ></details @@ -1760,13 +1776,13 @@  		      ></span  		      > <span class="keyword"  		      >type</span -		      > <a href="#" -		      >(<>)</a -		      > <a href="#" -		      >*</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Y</a -		      > a</span +		      > <a href="#" title="TypeFamilies" +		      ><></a +		      > (a :: <a href="#" title="Data.Kind" +		      >*</a +		      >)</span  		    > <a href="#" class="selflink"  		    >#</a  		    ></td @@ -1778,16 +1794,20 @@  		  ><details id="i:if:-60--62-:-60--62-:2"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>type</span -			> <a href="#" -			>(<>)</a -			> <a href="#" -			>*</a -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>Y</a -			> a = a</div +			> <a href="#" title="TypeFamilies" +			><></a +			> (a :: <a href="#" title="Data.Kind" +			>*</a +			>) = a</div  		      ></details  		    ></td  		  ></tr @@ -1798,13 +1818,13 @@  		      ></span  		      > <span class="keyword"  		      >type</span -		      > <a href="#" -		      >(<>)</a -		      > <a href="#" -		      >*</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >X</a -		      > a</span +		      > <a href="#" title="TypeFamilies" +		      ><></a +		      > (a :: <a href="#" title="Data.Kind" +		      >*</a +		      >)</span  		    > <a href="#" class="selflink"  		    >#</a  		    ></td @@ -1816,16 +1836,20 @@  		  ><details id="i:if:-60--62-:-60--62-:3"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>type</span -			> <a href="#" -			>(<>)</a -			> <a href="#" -			>*</a -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>X</a -			> a = <a href="#" +			> <a href="#" title="TypeFamilies" +			><></a +			> (a :: <a href="#" title="Data.Kind" +			>*</a +			>) = <a href="#" title="TypeFamilies"  			>X</a  			></div  		      ></details @@ -1854,13 +1878,11 @@  		  ><span class="inst-left"  		    ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:-62--60-:-62--60-:1"  		      ></span -		      > <a href="#" -		      >(><)</a -		      > <a href="#" -		      >X</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >XX</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies" +		      >><</a +		      > <a href="#" title="TypeFamilies"  		      >XXX</a  		      ></span  		    > <a href="#" class="selflink" @@ -1874,6 +1896,10 @@  		  ><details id="i:ic:-62--60-:-62--60-:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p  		      ></details  		    ></td  		  ></tr diff --git a/html-test/ref/TypeFamilies2.html b/html-test/ref/TypeFamilies2.html index 84e7df36..a5d0d9a9 100644 --- a/html-test/ref/TypeFamilies2.html +++ b/html-test/ref/TypeFamilies2.html @@ -92,9 +92,9 @@  		      ></span  		      > <span class="keyword"  		      >data</span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies2"  		      >Bar</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies2"  		      >W</a  		      ></span  		    > <a href="#" class="selflink" @@ -110,12 +110,16 @@  		  ><details id="i:id:W:Bar:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies2</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>data</span -			> <a href="#" +			> <a href="#" title="TypeFamilies2"  			>Bar</a -			> <a href="#" +			> <a href="#" title="TypeFamilies2"  			>W</a  			> = <a id="v:BarX" class="def"  			>BarX</a @@ -130,9 +134,9 @@  		      ></span  		      > <span class="keyword"  		      >type</span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies2"  		      >Foo</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies2"  		      >W</a  		      ></span  		    > <a href="#" class="selflink" @@ -146,12 +150,16 @@  		  ><details id="i:id:W:Foo:2"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies2</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>type</span -			> <a href="#" +			> <a href="#" title="TypeFamilies2"  			>Foo</a -			> <a href="#" +			> <a href="#" title="TypeFamilies2"  			>W</a  			></div  		      ></details @@ -186,9 +194,9 @@  		      ></span  		      > <span class="keyword"  		      >type</span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies2"  		      >Foo</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies2"  		      >W</a  		      ></span  		    > <a href="#" class="selflink" @@ -202,12 +210,16 @@  		  ><details id="i:if:Foo:Foo:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies2</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>type</span -			> <a href="#" +			> <a href="#" title="TypeFamilies2"  			>Foo</a -			> <a href="#" +			> <a href="#" title="TypeFamilies2"  			>W</a  			></div  		      ></details @@ -220,9 +232,9 @@  		      ></span  		      > <span class="keyword"  		      >type</span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies2"  		      >Foo</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >X</a  		      ></span  		    > <a href="#" class="selflink" @@ -236,14 +248,18 @@  		  ><details id="i:if:Foo:Foo:2"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>type</span -			> <a href="#" +			> <a href="#" title="TypeFamilies2"  			>Foo</a -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>X</a -			> = <a href="#" +			> = <a href="#" title="TypeFamilies"  			>Y</a  			></div  		      ></details @@ -278,9 +294,9 @@  		      ></span  		      > <span class="keyword"  		      >data</span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies2"  		      >Bar</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies2"  		      >W</a  		      ></span  		    > <a href="#" class="selflink" @@ -296,12 +312,16 @@  		  ><details id="i:if:Bar:Bar:1"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies2</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>data</span -			> <a href="#" +			> <a href="#" title="TypeFamilies2"  			>Bar</a -			> <a href="#" +			> <a href="#" title="TypeFamilies2"  			>W</a  			> = <a id="v:BarX" class="def"  			>BarX</a @@ -316,9 +336,9 @@  		      ></span  		      > <span class="keyword"  		      >data</span -		      > <a href="#" +		      > <a href="#" title="TypeFamilies2"  		      >Bar</a -		      > <a href="#" +		      > <a href="#" title="TypeFamilies"  		      >Y</a  		      ></span  		    > <a href="#" class="selflink" @@ -332,12 +352,16 @@  		  ><details id="i:if:Bar:Bar:2"  		    ><summary class="hide-when-js-enabled"  		      >Instance details</summary -		      ><div class="src" +		      ><p +		      >Defined in <a href="#" +			>TypeFamilies</a +			></p +		      > <div class="src"  		      ><span class="keyword"  			>data</span -			> <a href="#" +			> <a href="#" title="TypeFamilies2"  			>Bar</a -			> <a href="#" +			> <a href="#" title="TypeFamilies"  			>Y</a  			></div  		      ></details diff --git a/html-test/ref/TypeOperators.html b/html-test/ref/TypeOperators.html index d389162e..76a5b280 100644 --- a/html-test/ref/TypeOperators.html +++ b/html-test/ref/TypeOperators.html @@ -127,7 +127,7 @@  	><p class="src"  	  ><a id="v:biO" class="def"  	    >biO</a -	    > :: (g <a href="#" +	    > :: (g <a href="#" title="TypeOperators"  	    >`O`</a  	    > f) a <a href="#" class="selflink"  	    >#</a @@ -153,11 +153,11 @@  	><p class="src"  	  ><a id="v:x" class="def"  	    >x</a -	    > :: (a <a href="#" +	    > :: (a <a href="#" title="TypeOperators"  	    >:-:</a -	    > a) <a href="#" +	    > a) <a href="#" title="TypeOperators"  	    ><=></a -	    > (a <a href="#" +	    > (a <a href="#" title="TypeOperators"  	    >`Op`</a  	    > a) => a <a href="#" class="selflink"  	    >#</a @@ -167,11 +167,11 @@  	><p class="src"  	  ><a id="v:y" class="def"  	    >y</a -	    > :: (a <a href="#" +	    > :: (a <a href="#" title="TypeOperators"  	    ><=></a -	    > a, (a <a href="#" +	    > a, (a <a href="#" title="TypeOperators"  	    >`Op`</a -	    > a) <a href="#" +	    > a) <a href="#" title="TypeOperators"  	    ><=></a  	    > a) => a <a href="#" class="selflink"  	    >#</a diff --git a/html-test/ref/Unicode.html b/html-test/ref/Unicode.html index 0f2a30d4..26d0d60e 100644 --- a/html-test/ref/Unicode.html +++ b/html-test/ref/Unicode.html @@ -46,7 +46,7 @@  	  ><li class="src short"  	    ><a href="#"  	      >x</a -	      > :: <a href="#" +	      > :: <a href="#" title="Data.Int"  	      >Int</a  	      ></li  	    ></ul @@ -59,7 +59,7 @@  	><p class="src"  	  ><a id="v:x" class="def"  	    >x</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a diff --git a/html-test/ref/Visible.html b/html-test/ref/Visible.html index dad23fef..308689e4 100644 --- a/html-test/ref/Visible.html +++ b/html-test/ref/Visible.html @@ -45,9 +45,9 @@  	><p class="src"  	  ><a id="v:visible" class="def"  	    >visible</a -	    > :: <a href="#" +	    > :: <a href="#" title="Data.Int"  	    >Int</a -	    > -> <a href="#" +	    > -> <a href="#" title="Data.Int"  	    >Int</a  	    > <a href="#" class="selflink"  	    >#</a diff --git a/html-test/src/Bug458.hs b/html-test/src/Bug458.hs new file mode 100644 index 00000000..6a3ac9a4 --- /dev/null +++ b/html-test/src/Bug458.hs @@ -0,0 +1,6 @@ +module Bug458 where + +-- | See the defn of @'⊆'@. +(⊆) :: () -> () -> () +_ ⊆ _ = () + diff --git a/html-test/src/Bug546.hs b/html-test/src/Bug546.hs new file mode 100644 index 00000000..4493b1d9 --- /dev/null +++ b/html-test/src/Bug546.hs @@ -0,0 +1,55 @@ +module Bug546 where + +-- |Test: +-- +-- [@[code with square \\ brackets\]@] lorem ipsum +x = 1 + +-- | +-- +-- [@[..\]@]  Matches any of the enclosed characters. Ranges of characters can +--            be specified by separating the endpoints with a @\'-'@. @\'-'@ or +--            @']'@ can be matched by including them as the first character(s) +--            in the list. Never matches path separators: @[\/]@ matches +--            nothing at all. Named character classes can also be matched: +--            @[:x:]@ within @[]@ specifies the class named @x@, which matches +--            certain predefined characters. See below for a full list. +-- +-- [@[^..\]@ or @[!..\]@] Like @[..]@, but matches any character /not/ listed. +--                        Note that @[^-x]@ is not the inverse of @[-x]@, but +--                        the range @[^-x]@. +-- +-- [@\<m-n>@] Matches any integer in the range m to n, inclusive. The range may +--            be open-ended by leaving out either number: @\"\<->\"@, for +--            instance, matches any integer. +-- +-- [@**/@]    Matches any number of characters, including path separators, +--            excluding the empty string. +-- +-- Supported character classes: +-- +-- [@[:alnum:\]@]  Equivalent to @\"0-9A-Za-z\"@. +-- +-- [@[:alpha:\]@]  Equivalent to @\"A-Za-z\"@. +-- +-- [@[:blank:\]@]  Equivalent to @\"\\t \"@. +-- +-- [@[:cntrl:\]@]  Equivalent to @\"\\0-\\x1f\\x7f\"@. +-- +-- [@[:digit:\]@]  Equivalent to @\"0-9\"@. +-- +-- [@[:graph:\]@]  Equivalent to @\"!-~\"@. +-- +-- [@[:lower:\]@]  Equivalent to @\"a-z\"@. +-- +-- [@[:print:\]@]  Equivalent to @\" -~\"@. +-- +-- [@[:punct:\]@]  Equivalent to @\"!-\/:-\@[-`{-~\"@. +-- +-- [@[:space:\]@]  Equivalent to @\"\\t-\\r \"@. +-- +-- [@[:upper:\]@]  Equivalent to @\"A-Z\"@. +-- +-- [@[:xdigit:\]@] Equivalent to @\"0-9A-Fa-f\"@. +compile :: String -> String +compile = id
\ No newline at end of file diff --git a/html-test/src/Bug548.hs b/html-test/src/Bug548.hs new file mode 100644 index 00000000..652d3d32 --- /dev/null +++ b/html-test/src/Bug548.hs @@ -0,0 +1,3 @@ +module Bug548 (WrappedArrow(..)) where + +import Control.Applicative diff --git a/html-test/src/Bug679.hs b/html-test/src/Bug679.hs new file mode 100644 index 00000000..dba194c4 --- /dev/null +++ b/html-test/src/Bug679.hs @@ -0,0 +1,24 @@ +{-# LANGUAGE TemplateHaskell #-} + +module Bug679 where + +import Language.Haskell.TH + +data Bar a = Bar + +$(do +   a <- newName "a" +    +   let classN = mkName "Foo" +   let methodN = mkName "foo" + +   methodTy <- [t| $(varT a) -> $(varT a) |] +   let cla = ClassD [] classN [PlainTV a] [] [SigD methodN methodTy] +  +   -- Note that we are /reusing/ the same type variable 'a' as in the class +   instanceHead <- [t| $(conT classN) (Bar $(varT a)) |] +   idCall <- [e| id |] +   let ins = InstanceD Nothing [] instanceHead [FunD methodN [Clause [] (NormalB idCall) []]] +     +   pure [cla,ins]) + diff --git a/html-test/src/Table.hs b/html-test/src/Table.hs new file mode 100644 index 00000000..2cf0c662 --- /dev/null +++ b/html-test/src/Table.hs @@ -0,0 +1,47 @@ +-- | This tests the table markup +module Table +  ( tableWithHeader +  , tableWithoutHeader +  , fancyTable +  ) where + +-- | Table with header. +-- +-- +------+--------------+------------------------------------------+ +-- | code | message      | description                              | +-- +======+==============+==========================================+ +-- | 200  |   @OK@       | operation successful                     | +-- +------+--------------+------------------------------------------+ +-- | 204  | @No Content@ | operation successful, no body returned   | +-- +------+--------------+------------------------------------------+ +tableWithHeader :: a -> a +tableWithHeader a = a + +-- | Table without header. +-- +-- +------+--------------+------------------------------------------+ +-- | 200  |   @OK@       | operation successful                     | +-- +------+--------------+------------------------------------------+ +-- | 204  | @No Content@ | operation successful, no body returned   | +-- +------+--------------+------------------------------------------+ +-- | 404  | @Not Found@  | resource not found                       | +-- +------+--------------+------------------------------------------+ +tableWithoutHeader :: a -> a +tableWithoutHeader a = a + +-- | Fancy table. +-- +-- +------------------------+------------+----------+----------+ +-- | Header row, column 1   | Header 2   | Header 3 | Header 4 | +-- | (header rows optional) |            |          |          | +-- +========================+============+==========+==========+ +-- | body row 1, column 1   | column 2   | column 3 | column 4 | +-- +------------------------+------------+----------+----------+ +-- | 'tableWithHeader'      | Cells may span columns.          | +-- +------------------------+------------+---------------------+ +-- | body row 3             | Cells may  | \[                  | +-- +------------------------+ span rows. | f(n) = \sum_{i=1}   | +-- | body row 4             |            | \]                  | +-- +------------------------+------------+---------------------+ +fancyTable :: a -> a +fancyTable x = x  | 
