diff options
author | nand <git@nand.wakku.to> | 2014-02-11 11:52:48 +0100 |
---|---|---|
committer | Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk> | 2014-02-11 15:53:50 +0000 |
commit | bc5756d062bbc5cad5d4fa60798435ed020c518e (patch) | |
tree | 27735d5534d623d74cd9feef8c2306538f3e9e44 /html-test/ref | |
parent | e0718f203f2448ba2029e70d14aed075860b7fac (diff) |
Improve display of poly-kinded type operators
This now displays them as (==) k a b c ... to mirror GHC's behavior,
instead of the old (k == a) b c ... which was just wrong.
Signed-off-by: Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>
Diffstat (limited to 'html-test/ref')
-rw-r--r-- | html-test/ref/TypeFamilies.html | 292 |
1 files changed, 226 insertions, 66 deletions
diff --git a/html-test/ref/TypeFamilies.html b/html-test/ref/TypeFamilies.html index bfafc3d0..65845102 100644 --- a/html-test/ref/TypeFamilies.html +++ b/html-test/ref/TypeFamilies.html @@ -90,7 +90,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_TypeFamilies.html");}; >type family</span > <a href="#t:Foo" >Foo</a - > a</li + > a :: k</li ><li class="src short" ><span class="keyword" >data family</span @@ -125,6 +125,18 @@ window.onload = function () {pageLoad();setSynopsis("mini_TypeFamilies.html");}; > <a href="#t:Bar" >Bar</a > b</li + ><li class="src short" + ><span class="keyword" + >type family</span + > a <a href="#t:-60--62-" + ><></a + > b :: k</li + ><li class="src short" + ><span class="keyword" + >class</span + > a <a href="#t:-62--60-" + >><</a + > b</li ></ul ></div ><div id="interface" @@ -186,7 +198,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_TypeFamilies.html");}; ><td class="src" ><a href="TypeFamilies.html#t:Assoc" >Assoc</a - > <a href="TypeFamilies.html#t:X" + > * <a href="TypeFamilies.html#t:X" >X</a ></td ><td class="doc" @@ -198,7 +210,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_TypeFamilies.html");}; ><td class="src" ><a href="TypeFamilies.html#t:Test" >Test</a - > <a href="TypeFamilies.html#t:X" + > * <a href="TypeFamilies.html#t:X" >X</a ></td ><td class="doc" @@ -208,30 +220,14 @@ window.onload = function () {pageLoad();setSynopsis("mini_TypeFamilies.html");}; ></tr ><tr ><td class="src" - ><span class="keyword" - >data</span - > <a href="TypeFamilies.html#t:AssocD" - >AssocD</a - > <a href="TypeFamilies.html#t:X" - >X</a - > = <a name="v:AssocX" class="def" - >AssocX</a - ></td - ><td class="doc empty" - > </td - ></tr - ><tr - ><td class="src" - ><span class="keyword" - >type</span - > <a href="TypeFamilies.html#t:AssocT" - >AssocT</a - > <a href="TypeFamilies.html#t:X" - >X</a - > = <a href="TypeFamilies.html#t:Foo" - >Foo</a + ><a href="TypeFamilies.html#t:-62--60-" + >(><)</a > <a href="TypeFamilies.html#t:X" >X</a + > <a href="TypeFamilies.html#v:XX" + >XX</a + > <a href="TypeFamilies.html#v:XXX" + >XXX</a ></td ><td class="doc empty" > </td @@ -279,10 +275,40 @@ window.onload = function () {pageLoad();setSynopsis("mini_TypeFamilies.html");}; ><tr ><td class="src" ><span class="keyword" + >data</span + > <a href="TypeFamilies.html#t:AssocD" + >AssocD</a + > * <a href="TypeFamilies.html#t:X" + >X</a + > = <a name="v:AssocX" class="def" + >AssocX</a + ></td + ><td class="doc empty" + > </td + ></tr + ><tr + ><td class="src" + ><span class="keyword" + >type</span + > <a href="TypeFamilies.html#t:AssocT" + >AssocT</a + > * <a href="TypeFamilies.html#t:X" + >X</a + > = <a href="TypeFamilies.html#t:Foo" + >Foo</a + > * <a href="TypeFamilies.html#t:X" + >X</a + ></td + ><td class="doc empty" + > </td + ></tr + ><tr + ><td class="src" + ><span class="keyword" >type</span > <a href="TypeFamilies.html#t:Foo" >Foo</a - > <a href="TypeFamilies.html#t:X" + > * <a href="TypeFamilies.html#t:X" >X</a > = <a href="TypeFamilies.html#t:Y" >Y</a @@ -292,6 +318,38 @@ window.onload = function () {pageLoad();setSynopsis("mini_TypeFamilies.html");}; >Doc for: type instance Foo X = Y</p ></td ></tr + ><tr + ><td class="src" + ><span class="keyword" + >type</span + > <a href="TypeFamilies.html#t:-60--62-" + >(<>)</a + > * <a href="TypeFamilies.html#t:X" + >X</a + > a = <a href="TypeFamilies.html#t:X" + >X</a + ></td + ><td class="doc empty" + > </td + ></tr + ><tr + ><td class="src" + ><span class="keyword" + >type</span + > <a href="TypeFamilies.html#t:-60--62-" + >(<>)</a + > <a href="TypeFamilies.html#t:X" + >X</a + > <a href="TypeFamilies.html#v:XXX" + >XXX</a + > <a href="TypeFamilies.html#v:XX" + >XX</a + > = <a href="TypeFamilies.html#v:X" + >X</a + ></td + ><td class="doc empty" + > </td + ></tr ></table ></div ></div @@ -316,7 +374,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_TypeFamilies.html");}; ><td class="src" ><a href="TypeFamilies.html#t:Assoc" >Assoc</a - > <a href="TypeFamilies.html#t:Y" + > * <a href="TypeFamilies.html#t:Y" >Y</a ></td ><td class="doc" @@ -328,7 +386,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_TypeFamilies.html");}; ><td class="src" ><a href="TypeFamilies.html#t:Test" >Test</a - > <a href="TypeFamilies.html#t:Y" + > * <a href="TypeFamilies.html#t:Y" >Y</a ></td ><td class="doc" @@ -340,36 +398,6 @@ window.onload = function () {pageLoad();setSynopsis("mini_TypeFamilies.html");}; ><td class="src" ><span class="keyword" >data</span - > <a href="TypeFamilies.html#t:AssocD" - >AssocD</a - > <a href="TypeFamilies.html#t:Y" - >Y</a - > = <a name="v:AssocY" class="def" - >AssocY</a - ></td - ><td class="doc empty" - > </td - ></tr - ><tr - ><td class="src" - ><span class="keyword" - >type</span - > <a href="TypeFamilies.html#t:AssocT" - >AssocT</a - > <a href="TypeFamilies.html#t:Y" - >Y</a - > = <a href="TypeFamilies.html#t:Bat" - >Bat</a - > <a href="TypeFamilies.html#t:Y" - >Y</a - ></td - ><td class="doc empty" - > </td - ></tr - ><tr - ><td class="src" - ><span class="keyword" - >data</span > <a href="TypeFamilies.html#t:Bat" >Bat</a > <a href="TypeFamilies.html#t:Y" @@ -399,10 +427,40 @@ window.onload = function () {pageLoad();setSynopsis("mini_TypeFamilies.html");}; ><tr ><td class="src" ><span class="keyword" + >data</span + > <a href="TypeFamilies.html#t:AssocD" + >AssocD</a + > * <a href="TypeFamilies.html#t:Y" + >Y</a + > = <a name="v:AssocY" class="def" + >AssocY</a + ></td + ><td class="doc empty" + > </td + ></tr + ><tr + ><td class="src" + ><span class="keyword" + >type</span + > <a href="TypeFamilies.html#t:AssocT" + >AssocT</a + > * <a href="TypeFamilies.html#t:Y" + >Y</a + > = <a href="TypeFamilies.html#t:Bat" + >Bat</a + > <a href="TypeFamilies.html#t:Y" + >Y</a + ></td + ><td class="doc empty" + > </td + ></tr + ><tr + ><td class="src" + ><span class="keyword" >type</span > <a href="TypeFamilies.html#t:Foo" >Foo</a - > <a href="TypeFamilies.html#t:Y" + > * <a href="TypeFamilies.html#t:Y" >Y</a > = <a href="TypeFamilies.html#t:X" >X</a @@ -412,6 +470,18 @@ window.onload = function () {pageLoad();setSynopsis("mini_TypeFamilies.html");}; >Doc for: type instance Foo Y = X</p ></td ></tr + ><tr + ><td class="src" + ><span class="keyword" + >type</span + > <a href="TypeFamilies.html#t:-60--62-" + >(<>)</a + > * <a href="TypeFamilies.html#t:Y" + >Y</a + > a = a</td + ><td class="doc empty" + > </td + ></tr ></table ></div ></div @@ -436,7 +506,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_TypeFamilies.html");}; ><td class="src" ><a href="TypeFamilies.html#t:Test" >Test</a - > <a href="TypeFamilies.html#t:Y" + > * <a href="TypeFamilies.html#t:Y" >Y</a ></td ><td class="doc" @@ -448,7 +518,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_TypeFamilies.html");}; ><td class="src" ><a href="TypeFamilies.html#t:Test" >Test</a - > <a href="TypeFamilies.html#t:X" + > * <a href="TypeFamilies.html#t:X" >X</a ></td ><td class="doc" @@ -466,7 +536,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_TypeFamilies.html");}; >type family</span > <a name="t:Foo" class="def" >Foo</a - > a</p + > a :: k</p ><div class="doc" ><p >Doc for: type family Foo a</p @@ -482,7 +552,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_TypeFamilies.html");}; >type</span > <a href="TypeFamilies.html#t:Foo" >Foo</a - > <a href="TypeFamilies.html#t:Y" + > * <a href="TypeFamilies.html#t:Y" >Y</a > = <a href="TypeFamilies.html#t:X" >X</a @@ -498,7 +568,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_TypeFamilies.html");}; >type</span > <a href="TypeFamilies.html#t:Foo" >Foo</a - > <a href="TypeFamilies.html#t:X" + > * <a href="TypeFamilies.html#t:X" >X</a > = <a href="TypeFamilies.html#t:Y" >Y</a @@ -646,7 +716,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_TypeFamilies.html");}; ><td class="src" ><a href="TypeFamilies.html#t:Assoc" >Assoc</a - > <a href="TypeFamilies.html#t:Y" + > * <a href="TypeFamilies.html#t:Y" >Y</a ></td ><td class="doc" @@ -658,7 +728,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_TypeFamilies.html");}; ><td class="src" ><a href="TypeFamilies.html#t:Assoc" >Assoc</a - > <a href="TypeFamilies.html#t:X" + > * <a href="TypeFamilies.html#t:X" >X</a ></td ><td class="doc" @@ -710,6 +780,96 @@ window.onload = function () {pageLoad();setSynopsis("mini_TypeFamilies.html");}; ></table ></div ></div + ><div class="top" + ><p class="src" + ><span class="keyword" + >type family</span + > a <a name="t:-60--62-" class="def" + ><></a + > b :: k</p + ><div class="subs instances" + ><p id="control.i:-60--62-" class="caption collapser" onclick="toggleSection('i:-60--62-')" + >Instances</p + ><div id="section.i:-60--62-" class="show" + ><table + ><tr + ><td class="src" + ><span class="keyword" + >type</span + > <a href="TypeFamilies.html#t:-60--62-" + >(<>)</a + > * <a href="TypeFamilies.html#t:Y" + >Y</a + > a = a</td + ><td class="doc empty" + > </td + ></tr + ><tr + ><td class="src" + ><span class="keyword" + >type</span + > <a href="TypeFamilies.html#t:-60--62-" + >(<>)</a + > * <a href="TypeFamilies.html#t:X" + >X</a + > a = <a href="TypeFamilies.html#t:X" + >X</a + ></td + ><td class="doc empty" + > </td + ></tr + ><tr + ><td class="src" + ><span class="keyword" + >type</span + > <a href="TypeFamilies.html#t:-60--62-" + >(<>)</a + > <a href="TypeFamilies.html#t:X" + >X</a + > <a href="TypeFamilies.html#v:XXX" + >XXX</a + > <a href="TypeFamilies.html#v:XX" + >XX</a + > = <a href="TypeFamilies.html#v:X" + >X</a + ></td + ><td class="doc empty" + > </td + ></tr + ></table + ></div + ></div + ></div + ><div class="top" + ><p class="src" + ><span class="keyword" + >class</span + > a <a name="t:-62--60-" class="def" + >><</a + > b</p + ><div class="subs instances" + ><p id="control.i:-62--60-" class="caption collapser" onclick="toggleSection('i:-62--60-')" + >Instances</p + ><div id="section.i:-62--60-" class="show" + ><table + ><tr + ><td class="src" + ><a href="TypeFamilies.html#t:-62--60-" + >(><)</a + > <a href="TypeFamilies.html#t:X" + >X</a + > <a href="TypeFamilies.html#v:XX" + >XX</a + > <a href="TypeFamilies.html#v:XXX" + >XXX</a + ></td + ><td class="doc empty" + > </td + ></tr + ></table + ></div + ></div + ></div ></div ></div ><div id="footer" |