diff options
author | Alec Theriault <alec.theriault@gmail.com> | 2018-03-21 01:16:57 -0700 |
---|---|---|
committer | Alexander Biehl <alexbiehl@gmail.com> | 2018-03-21 09:16:57 +0100 |
commit | b7a74c6702f087fde99f44f12d99c66afcf5790d (patch) | |
tree | 9f751803eb5c13adfef9e991469a2a9bf1bbb2c6 /html-test/ref/Bug548.html | |
parent | e787b5712157bb0acbb8d886ef793cda5dc1b821 (diff) |
Show where instances are defined (#748)
* Indicate source module of instances
Above instance, we now also display a link to the module where the
instance was defined. This is sometimes helpful in figuring out
what to import.
* Source module for type/data families too
* Remove parens
* Accept tests
Diffstat (limited to 'html-test/ref/Bug548.html')
-rw-r--r-- | html-test/ref/Bug548.html | 42 |
1 files changed, 35 insertions, 7 deletions
diff --git a/html-test/ref/Bug548.html b/html-test/ref/Bug548.html index f38a1535..29216433 100644 --- a/html-test/ref/Bug548.html +++ b/html-test/ref/Bug548.html @@ -116,7 +116,11 @@ ><details id="i:id:WrappedArrow:Generic1:1" ><summary class="hide-when-js-enabled" >Instance details</summary - ><div class="subs associated-types" + ><p + >Defined in <a href="#" + >Control.Applicative</a + ></p + > <div class="subs associated-types" ><p class="caption" >Associated Types</p ><p class="src" @@ -188,7 +192,11 @@ ><details id="i:id:WrappedArrow:Functor:2" ><summary class="hide-when-js-enabled" >Instance details</summary - ><div class="subs methods" + ><p + >Defined in <a href="#" + >Control.Applicative</a + ></p + > <div class="subs methods" ><p class="caption" >Methods</p ><p class="src" @@ -240,7 +248,11 @@ ><details id="i:id:WrappedArrow:Applicative:3" ><summary class="hide-when-js-enabled" >Instance details</summary - ><div class="subs methods" + ><p + >Defined in <a href="#" + >Control.Applicative</a + ></p + > <div class="subs methods" ><p class="caption" >Methods</p ><p class="src" @@ -330,7 +342,11 @@ ><details id="i:id:WrappedArrow:Alternative:4" ><summary class="hide-when-js-enabled" >Instance details</summary - ><div class="subs methods" + ><p + >Defined in <a href="#" + >Control.Applicative</a + ></p + > <div class="subs methods" ><p class="caption" >Methods</p ><p class="src" @@ -396,7 +412,11 @@ ><details id="i:id:WrappedArrow:Generic:5" ><summary class="hide-when-js-enabled" >Instance details</summary - ><div class="subs associated-types" + ><p + >Defined in <a href="#" + >Control.Applicative</a + ></p + > <div class="subs associated-types" ><p class="caption" >Associated Types</p ><p class="src" @@ -470,7 +490,11 @@ ><details id="i:id:WrappedArrow:Rep1:6" ><summary class="hide-when-js-enabled" >Instance details</summary - ><div class="src" + ><p + >Defined in <a href="#" + >Control.Applicative</a + ></p + > <div class="src" ><span class="keyword" >type</span > <a href="#" title="GHC.Generics" @@ -534,7 +558,11 @@ ><details id="i:id:WrappedArrow:Rep:7" ><summary class="hide-when-js-enabled" >Instance details</summary - ><div class="src" + ><p + >Defined in <a href="#" + >Control.Applicative</a + ></p + > <div class="src" ><span class="keyword" >type</span > <a href="#" title="GHC.Generics" |