diff options
author | Simon Jakobi <simon.jakobi@gmail.com> | 2018-06-13 23:49:52 +0200 |
---|---|---|
committer | Simon Jakobi <simon.jakobi@gmail.com> | 2018-06-13 23:49:52 +0200 |
commit | ce568c3afb00610d659d3c2bab022983d252f1cd (patch) | |
tree | ba08952a584eb4d56a61b4275a344570e67c48cf /html-test/ref/Instances.html | |
parent | 39a35291045de99b2dabb9cddf5bb16d294c2f3b (diff) |
html-test: Accept output
Diffstat (limited to 'html-test/ref/Instances.html')
-rw-r--r-- | html-test/ref/Instances.html | 398 |
1 files changed, 63 insertions, 335 deletions
diff --git a/html-test/ref/Instances.html b/html-test/ref/Instances.html index 1b4f276f..40b1045c 100644 --- a/html-test/ref/Instances.html +++ b/html-test/ref/Instances.html @@ -102,9 +102,7 @@ >foo</a > :: (a <a href="#" title="Instances" ><~~</a - > <a href="#" title="Data.Int" - >Int</a - >) -> a0 -> a <a href="#" title="Instances" + > Int) -> a0 -> a <a href="#" title="Instances" ><~~</a > a0 <a href="#" class="selflink" >#</a @@ -116,15 +114,11 @@ ><~~</a > (a <a href="#" title="Instances" ><~~</a - > a0)) -> <a href="#" title="Data.Int" - >Int</a - > -> a <a href="#" title="Instances" + > a0)) -> Int -> a <a href="#" title="Instances" ><~~</a > (a <a href="#" title="Instances" ><~~</a - > <a href="#" title="Data.Int" - >Int</a - >) <a href="#" class="selflink" + > Int) <a href="#" class="selflink" >#</a ></p ></div @@ -158,19 +152,13 @@ ><p class="src" ><a id="v:foo" class="def" >foo</a - > :: f <a href="#" title="Data.Int" - >Int</a - > -> a -> f a <a href="#" class="selflink" + > :: f Int -> a -> f a <a href="#" class="selflink" >#</a ></p ><p class="src" ><a id="v:foo-39-" class="def" >foo'</a - > :: f (f a) -> <a href="#" title="Data.Int" - >Int</a - > -> f (f <a href="#" title="Data.Int" - >Int</a - >) <a href="#" class="selflink" + > :: f (f a) -> Int -> f (f Int) <a href="#" class="selflink" >#</a ></p ></div @@ -208,19 +196,13 @@ ><p class="src" ><a href="#" >foo</a - > :: [<a href="#" title="Data.Int" - >Int</a - >] -> a -> [a] <a href="#" class="selflink" + > :: [Int] -> a -> [a] <a href="#" class="selflink" >#</a ></p ><p class="src" ><a href="#" >foo'</a - > :: [[a]] -> <a href="#" title="Data.Int" - >Int</a - > -> [[<a href="#" title="Data.Int" - >Int</a - >]] <a href="#" class="selflink" + > :: [[a]] -> Int -> [[Int]] <a href="#" class="selflink" >#</a ></p ></div @@ -234,9 +216,7 @@ ></span > <a href="#" title="Instances" >Foo</a - > <a href="#" title="Data.Maybe" - >Maybe</a - ></span + > Maybe</span > <a href="#" class="selflink" >#</a ></td @@ -258,31 +238,13 @@ ><p class="src" ><a href="#" >foo</a - > :: <a href="#" title="Data.Maybe" - >Maybe</a - > <a href="#" title="Data.Int" - >Int</a - > -> a -> <a href="#" title="Data.Maybe" - >Maybe</a - > a <a href="#" class="selflink" + > :: Maybe Int -> a -> Maybe a <a href="#" class="selflink" >#</a ></p ><p class="src" ><a href="#" >foo'</a - > :: <a href="#" title="Data.Maybe" - >Maybe</a - > (<a href="#" title="Data.Maybe" - >Maybe</a - > a) -> <a href="#" title="Data.Int" - >Int</a - > -> <a href="#" title="Data.Maybe" - >Maybe</a - > (<a href="#" title="Data.Maybe" - >Maybe</a - > <a href="#" title="Data.Int" - >Int</a - >) <a href="#" class="selflink" + > :: Maybe (Maybe a) -> Int -> Maybe (Maybe Int) <a href="#" class="selflink" >#</a ></p ></div @@ -296,9 +258,7 @@ ></span > <a href="#" title="Instances" >Foo</a - > (<a href="#" title="Data.Either" - >Either</a - > a)</span + > (Either a)</span > <a href="#" class="selflink" >#</a ></td @@ -320,31 +280,13 @@ ><p class="src" ><a href="#" >foo</a - > :: <a href="#" title="Data.Either" - >Either</a - > a <a href="#" title="Data.Int" - >Int</a - > -> a0 -> <a href="#" title="Data.Either" - >Either</a - > a a0 <a href="#" class="selflink" + > :: Either a Int -> a0 -> Either a a0 <a href="#" class="selflink" >#</a ></p ><p class="src" ><a href="#" >foo'</a - > :: <a href="#" title="Data.Either" - >Either</a - > a (<a href="#" title="Data.Either" - >Either</a - > a a0) -> <a href="#" title="Data.Int" - >Int</a - > -> <a href="#" title="Data.Either" - >Either</a - > a (<a href="#" title="Data.Either" - >Either</a - > a <a href="#" title="Data.Int" - >Int</a - >) <a href="#" class="selflink" + > :: Either a (Either a a0) -> Int -> Either a (Either a Int) <a href="#" class="selflink" >#</a ></p ></div @@ -356,15 +298,11 @@ ><span class="inst-left" ><span class="instance details-toggle-control details-toggle" data-details-id="i:ic:Foo:Foo:4" ></span - > (<a href="#" title="Data.Eq" - >Eq</a - > a, <a href="#" title="Instances" + > (Eq a, <a href="#" title="Instances" >Foo</a > f) => <a href="#" title="Instances" >Foo</a - > (<a href="#" title="GHC.Tuple" - >(,)</a - > (f a))</span + > ((,) (f a))</span > <a href="#" class="selflink" >#</a ></td @@ -386,19 +324,13 @@ ><p class="src" ><a href="#" >foo</a - > :: (f a, <a href="#" title="Data.Int" - >Int</a - >) -> a0 -> (f a, a0) <a href="#" class="selflink" + > :: (f a, Int) -> a0 -> (f a, a0) <a href="#" class="selflink" >#</a ></p ><p class="src" ><a href="#" >foo'</a - > :: (f a, (f a, a0)) -> <a href="#" title="Data.Int" - >Int</a - > -> (f a, (f a, <a href="#" title="Data.Int" - >Int</a - >)) <a href="#" class="selflink" + > :: (f a, (f a, a0)) -> Int -> (f a, (f a, Int)) <a href="#" class="selflink" >#</a ></p ></div @@ -438,9 +370,7 @@ >foo</a > :: (a <a href="#" title="Instances" ><~~</a - > <a href="#" title="Data.Int" - >Int</a - >) -> a0 -> a <a href="#" title="Instances" + > Int) -> a0 -> a <a href="#" title="Instances" ><~~</a > a0 <a href="#" class="selflink" >#</a @@ -452,15 +382,11 @@ ><~~</a > (a <a href="#" title="Instances" ><~~</a - > a0)) -> <a href="#" title="Data.Int" - >Int</a - > -> a <a href="#" title="Instances" + > a0)) -> Int -> a <a href="#" title="Instances" ><~~</a > (a <a href="#" title="Instances" ><~~</a - > <a href="#" title="Data.Int" - >Int</a - >) <a href="#" class="selflink" + > Int) <a href="#" class="selflink" >#</a ></p ></div @@ -474,9 +400,7 @@ ></span > <a href="#" title="Instances" >Foo</a - > (<a href="#" title="GHC.Tuple" - >(,,)</a - > a a)</span + > ((,,) a a)</span > <a href="#" class="selflink" >#</a ></td @@ -498,19 +422,13 @@ ><p class="src" ><a href="#" >foo</a - > :: (a, a, <a href="#" title="Data.Int" - >Int</a - >) -> a0 -> (a, a, a0) <a href="#" class="selflink" + > :: (a, a, Int) -> a0 -> (a, a, a0) <a href="#" class="selflink" >#</a ></p ><p class="src" ><a href="#" >foo'</a - > :: (a, a, (a, a, a0)) -> <a href="#" title="Data.Int" - >Int</a - > -> (a, a, (a, a, <a href="#" title="Data.Int" - >Int</a - >)) <a href="#" class="selflink" + > :: (a, a, (a, a, a0)) -> Int -> (a, a, (a, a, Int)) <a href="#" class="selflink" >#</a ></p ></div @@ -550,9 +468,7 @@ >foo</a > :: <a href="#" title="Instances" >Quux</a - > a b <a href="#" title="Data.Int" - >Int</a - > -> a0 -> <a href="#" title="Instances" + > a b Int -> a0 -> <a href="#" title="Instances" >Quux</a > a b a0 <a href="#" class="selflink" >#</a @@ -564,15 +480,11 @@ >Quux</a > a b (<a href="#" title="Instances" >Quux</a - > a b a0) -> <a href="#" title="Data.Int" - >Int</a - > -> <a href="#" title="Instances" + > a b a0) -> Int -> <a href="#" title="Instances" >Quux</a > a b (<a href="#" title="Instances" >Quux</a - > a b <a href="#" title="Data.Int" - >Int</a - >) <a href="#" class="selflink" + > a b Int) <a href="#" class="selflink" >#</a ></p ></div @@ -586,11 +498,7 @@ ></span > <a href="#" title="Instances" >Foo</a - > ((->) a :: <a href="#" title="Data.Kind" - >*</a - > -> <a href="#" title="Data.Kind" - >*</a - >)</span + > ((->) a :: * -> *)</span > <a href="#" class="selflink" >#</a ></td @@ -612,19 +520,13 @@ ><p class="src" ><a href="#" >foo</a - > :: (a -> <a href="#" title="Data.Int" - >Int</a - >) -> a0 -> a -> a0 <a href="#" class="selflink" + > :: (a -> Int) -> a0 -> a -> a0 <a href="#" class="selflink" >#</a ></p ><p class="src" ><a href="#" >foo'</a - > :: (a -> a -> a0) -> <a href="#" title="Data.Int" - >Int</a - > -> a -> a -> <a href="#" title="Data.Int" - >Int</a - > <a href="#" class="selflink" + > :: (a -> (a -> a0)) -> Int -> a -> (a -> Int) <a href="#" class="selflink" >#</a ></p ></div @@ -660,9 +562,7 @@ ><p class="src" ><a id="v:bar" class="def" >bar</a - > :: f a -> f <a href="#" title="Data.Bool" - >Bool</a - > -> a <a href="#" class="selflink" + > :: f a -> f Bool -> a <a href="#" class="selflink" >#</a ></p ><p class="src" @@ -696,11 +596,7 @@ ></span > <a href="#" title="Instances" >Bar</a - > <a href="#" title="Data.Maybe" - >Maybe</a - > <a href="#" title="Data.Bool" - >Bool</a - ></span + > Maybe Bool</span > <a href="#" class="selflink" >#</a ></td @@ -722,71 +618,25 @@ ><p class="src" ><a href="#" >bar</a - > :: <a href="#" title="Data.Maybe" - >Maybe</a - > <a href="#" title="Data.Bool" - >Bool</a - > -> <a href="#" title="Data.Maybe" - >Maybe</a - > <a href="#" title="Data.Bool" - >Bool</a - > -> <a href="#" title="Data.Bool" - >Bool</a - > <a href="#" class="selflink" + > :: Maybe Bool -> Maybe Bool -> Bool <a href="#" class="selflink" >#</a ></p ><p class="src" ><a href="#" >bar'</a - > :: <a href="#" title="Data.Maybe" - >Maybe</a - > (<a href="#" title="Data.Maybe" - >Maybe</a - > <a href="#" title="Data.Bool" - >Bool</a - >) -> <a href="#" title="Data.Maybe" - >Maybe</a - > (<a href="#" title="Data.Maybe" - >Maybe</a - > (<a href="#" title="Data.Maybe" - >Maybe</a - > b)) <a href="#" class="selflink" + > :: Maybe (Maybe Bool) -> Maybe (Maybe (Maybe b)) <a href="#" class="selflink" >#</a ></p ><p class="src" ><a href="#" >bar0</a - > :: (<a href="#" title="Data.Maybe" - >Maybe</a - > <a href="#" title="Data.Bool" - >Bool</a - >, <a href="#" title="Data.Maybe" - >Maybe</a - > <a href="#" title="Data.Bool" - >Bool</a - >) -> (<a href="#" title="Data.Maybe" - >Maybe</a - > b, <a href="#" title="Data.Maybe" - >Maybe</a - > c) <a href="#" class="selflink" + > :: (Maybe Bool, Maybe Bool) -> (Maybe b, Maybe c) <a href="#" class="selflink" >#</a ></p ><p class="src" ><a href="#" >bar1</a - > :: (<a href="#" title="Data.Maybe" - >Maybe</a - > <a href="#" title="Data.Bool" - >Bool</a - >, <a href="#" title="Data.Maybe" - >Maybe</a - > <a href="#" title="Data.Bool" - >Bool</a - >) -> (<a href="#" title="Data.Maybe" - >Maybe</a - > b, <a href="#" title="Data.Maybe" - >Maybe</a - > c) <a href="#" class="selflink" + > :: (Maybe Bool, Maybe Bool) -> (Maybe b, Maybe c) <a href="#" class="selflink" >#</a ></p ></div @@ -800,9 +650,7 @@ ></span > <a href="#" title="Instances" >Bar</a - > <a href="#" title="Data.Maybe" - >Maybe</a - > [a]</span + > Maybe [a]</span > <a href="#" class="selflink" >#</a ></td @@ -824,57 +672,25 @@ ><p class="src" ><a href="#" >bar</a - > :: <a href="#" title="Data.Maybe" - >Maybe</a - > [a] -> <a href="#" title="Data.Maybe" - >Maybe</a - > <a href="#" title="Data.Bool" - >Bool</a - > -> [a] <a href="#" class="selflink" + > :: Maybe [a] -> Maybe Bool -> [a] <a href="#" class="selflink" >#</a ></p ><p class="src" ><a href="#" >bar'</a - > :: <a href="#" title="Data.Maybe" - >Maybe</a - > (<a href="#" title="Data.Maybe" - >Maybe</a - > [a]) -> <a href="#" title="Data.Maybe" - >Maybe</a - > (<a href="#" title="Data.Maybe" - >Maybe</a - > (<a href="#" title="Data.Maybe" - >Maybe</a - > b)) <a href="#" class="selflink" + > :: Maybe (Maybe [a]) -> Maybe (Maybe (Maybe b)) <a href="#" class="selflink" >#</a ></p ><p class="src" ><a href="#" >bar0</a - > :: (<a href="#" title="Data.Maybe" - >Maybe</a - > [a], <a href="#" title="Data.Maybe" - >Maybe</a - > [a]) -> (<a href="#" title="Data.Maybe" - >Maybe</a - > b, <a href="#" title="Data.Maybe" - >Maybe</a - > c) <a href="#" class="selflink" + > :: (Maybe [a], Maybe [a]) -> (Maybe b, Maybe c) <a href="#" class="selflink" >#</a ></p ><p class="src" ><a href="#" >bar1</a - > :: (<a href="#" title="Data.Maybe" - >Maybe</a - > [a], <a href="#" title="Data.Maybe" - >Maybe</a - > [a]) -> (<a href="#" title="Data.Maybe" - >Maybe</a - > b, <a href="#" title="Data.Maybe" - >Maybe</a - > c) <a href="#" class="selflink" + > :: (Maybe [a], Maybe [a]) -> (Maybe b, Maybe c) <a href="#" class="selflink" >#</a ></p ></div @@ -910,9 +726,7 @@ ><p class="src" ><a href="#" >bar</a - > :: [(a, a)] -> [<a href="#" title="Data.Bool" - >Bool</a - >] -> (a, a) <a href="#" class="selflink" + > :: [(a, a)] -> [Bool] -> (a, a) <a href="#" class="selflink" >#</a ></p ><p class="src" @@ -946,9 +760,7 @@ >Foo</a > f => <a href="#" title="Instances" >Bar</a - > (<a href="#" title="Data.Either" - >Either</a - > a) (f a)</span + > (Either a) (f a)</span > <a href="#" class="selflink" >#</a ></td @@ -970,57 +782,25 @@ ><p class="src" ><a href="#" >bar</a - > :: <a href="#" title="Data.Either" - >Either</a - > a (f a) -> <a href="#" title="Data.Either" - >Either</a - > a <a href="#" title="Data.Bool" - >Bool</a - > -> f a <a href="#" class="selflink" + > :: Either a (f a) -> Either a Bool -> f a <a href="#" class="selflink" >#</a ></p ><p class="src" ><a href="#" >bar'</a - > :: <a href="#" title="Data.Either" - >Either</a - > a (<a href="#" title="Data.Either" - >Either</a - > a (f a)) -> <a href="#" title="Data.Either" - >Either</a - > a (<a href="#" title="Data.Either" - >Either</a - > a (<a href="#" title="Data.Either" - >Either</a - > a b)) <a href="#" class="selflink" + > :: Either a (Either a (f a)) -> Either a (Either a (Either a b)) <a href="#" class="selflink" >#</a ></p ><p class="src" ><a href="#" >bar0</a - > :: (<a href="#" title="Data.Either" - >Either</a - > a (f a), <a href="#" title="Data.Either" - >Either</a - > a (f a)) -> (<a href="#" title="Data.Either" - >Either</a - > a b, <a href="#" title="Data.Either" - >Either</a - > a c) <a href="#" class="selflink" + > :: (Either a (f a), Either a (f a)) -> (Either a b, Either a c) <a href="#" class="selflink" >#</a ></p ><p class="src" ><a href="#" >bar1</a - > :: (<a href="#" title="Data.Either" - >Either</a - > a (f a), <a href="#" title="Data.Either" - >Either</a - > a (f a)) -> (<a href="#" title="Data.Either" - >Either</a - > a b, <a href="#" title="Data.Either" - >Either</a - > a c) <a href="#" class="selflink" + > :: (Either a (f a), Either a (f a)) -> (Either a b, Either a c) <a href="#" class="selflink" >#</a ></p ></div @@ -1034,13 +814,9 @@ ></span > <a href="#" title="Instances" >Foo</a - > (<a href="#" title="GHC.Tuple" - >(,,)</a - > a b) => <a href="#" title="Instances" + > ((,,) a b) => <a href="#" title="Instances" >Bar</a - > (<a href="#" title="GHC.Tuple" - >(,,)</a - > a b) (a, b, a)</span + > ((,,) a b) (a, b, a)</span > <a href="#" class="selflink" >#</a ></td @@ -1062,9 +838,7 @@ ><p class="src" ><a href="#" >bar</a - > :: (a, b, (a, b, a)) -> (a, b, <a href="#" title="Data.Bool" - >Bool</a - >) -> (a, b, a) <a href="#" class="selflink" + > :: (a, b, (a, b, a)) -> (a, b, Bool) -> (a, b, a) <a href="#" class="selflink" >#</a ></p ><p class="src" @@ -1128,9 +902,7 @@ >Quux</a > a b c) -> <a href="#" title="Instances" >Quux</a - > a c <a href="#" title="Data.Bool" - >Bool</a - > -> <a href="#" title="Instances" + > a c Bool -> <a href="#" title="Instances" >Quux</a > a b c <a href="#" class="selflink" >#</a @@ -1660,9 +1432,7 @@ >foo</a > :: <a href="#" title="Instances" >Quux</a - > a b <a href="#" title="Data.Int" - >Int</a - > -> a0 -> <a href="#" title="Instances" + > a b Int -> a0 -> <a href="#" title="Instances" >Quux</a > a b a0 <a href="#" class="selflink" >#</a @@ -1674,15 +1444,11 @@ >Quux</a > a b (<a href="#" title="Instances" >Quux</a - > a b a0) -> <a href="#" title="Data.Int" - >Int</a - > -> <a href="#" title="Instances" + > a b a0) -> Int -> <a href="#" title="Instances" >Quux</a > a b (<a href="#" title="Instances" >Quux</a - > a b <a href="#" title="Data.Int" - >Int</a - >) <a href="#" class="selflink" + > a b Int) <a href="#" class="selflink" >#</a ></p ></div @@ -1728,9 +1494,7 @@ >Quux</a > a b c) -> <a href="#" title="Instances" >Quux</a - > a c <a href="#" title="Data.Bool" - >Bool</a - > -> <a href="#" title="Instances" + > a c Bool -> <a href="#" title="Instances" >Quux</a > a b c <a href="#" class="selflink" >#</a @@ -1878,9 +1642,7 @@ >data</span > <a href="#" title="Instances" >Thud</a - > <a href="#" title="Data.Int" - >Int</a - > (<a href="#" title="Instances" + > Int (<a href="#" title="Instances" >Quux</a > a [a] c)</span > <a href="#" class="selflink" @@ -1903,9 +1665,7 @@ >data</span > <a href="#" title="Instances" >Thud</a - > <a href="#" title="Data.Int" - >Int</a - > (<a href="#" title="Instances" + > Int (<a href="#" title="Instances" >Quux</a > a [a] c) <ul class="inst" ><li class="inst" @@ -1915,11 +1675,7 @@ ><li class="inst" >| <a id="v:Thuuud" class="def" >Thuuud</a - > <a href="#" title="Data.Int" - >Int</a - > <a href="#" title="Data.Int" - >Int</a - ></li + > Int Int</li ></ul ></div ></details @@ -1990,11 +1746,7 @@ ></span > <a href="#" title="Instances" >Norf</a - > <a href="#" title="Data.Int" - >Int</a - > <a href="#" title="Data.Bool" - >Bool</a - ></span + > Int Bool</span > <a href="#" class="selflink" >#</a ></td @@ -2018,13 +1770,7 @@ >type</span > <a href="#" title="Instances" >Plugh</a - > <a href="#" title="Data.Int" - >Int</a - > c <a href="#" title="Data.Bool" - >Bool</a - > :: <a href="#" title="Data.Kind" - >*</a - > <a href="#" class="selflink" + > Int c Bool :: * <a href="#" class="selflink" >#</a ></p ><p class="src" @@ -2032,11 +1778,7 @@ >data</span > <a href="#" title="Instances" >Thud</a - > <a href="#" title="Data.Int" - >Int</a - > c :: <a href="#" title="Data.Kind" - >*</a - > <a href="#" class="selflink" + > Int c :: * <a href="#" class="selflink" >#</a ></p ></div @@ -2048,17 +1790,7 @@ >norf</a > :: <a href="#" title="Instances" >Plugh</a - > <a href="#" title="Data.Int" - >Int</a - > c <a href="#" title="Data.Bool" - >Bool</a - > -> <a href="#" title="Data.Int" - >Int</a - > -> (<a href="#" title="Data.Int" - >Int</a - > -> c) -> <a href="#" title="Data.Bool" - >Bool</a - > <a href="#" class="selflink" + > Int c Bool -> Int -> (Int -> c) -> Bool <a href="#" class="selflink" >#</a ></p ></div @@ -2096,9 +1828,7 @@ >type</span > <a href="#" title="Instances" >Plugh</a - > [a] c [b] :: <a href="#" title="Data.Kind" - >*</a - > <a href="#" class="selflink" + > [a] c [b] :: * <a href="#" class="selflink" >#</a ></p ><p class="src" @@ -2106,9 +1836,7 @@ >data</span > <a href="#" title="Instances" >Thud</a - > [a] c :: <a href="#" title="Data.Kind" - >*</a - > <a href="#" class="selflink" + > [a] c :: * <a href="#" class="selflink" >#</a ></p ></div |