aboutsummaryrefslogtreecommitdiff
path: root/hoogle-test
diff options
context:
space:
mode:
authorAlec Theriault <alec.theriault@gmail.com>2018-12-12 08:34:57 -0800
committerAlec Theriault <alec.theriault@gmail.com>2018-12-12 08:42:09 -0800
commitd66a17f3d7552ccd82b5b4b491013f9ac9498966 (patch)
tree76a65bf920e126674b82fde59da94f6a52f43355 /hoogle-test
parent6414b46e1ac8b63cad20d662311788a80e3b29bb (diff)
Fix warnings, accept output
* remove redundant imports (only brought to light due to recent work for improving redundant import detection) * fix a bug that was casuing exports to appear in reverse order * fix something in haddock-library that prevented compilation on old GHC's
Diffstat (limited to 'hoogle-test')
-rw-r--r--hoogle-test/ref/Bug873/test.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/hoogle-test/ref/Bug873/test.txt b/hoogle-test/ref/Bug873/test.txt
index 19100212..3c0e1870 100644
--- a/hoogle-test/ref/Bug873/test.txt
+++ b/hoogle-test/ref/Bug873/test.txt
@@ -18,8 +18,9 @@ module Bug873
-- It is also useful in higher-order situations, such as <tt><a>map</a>
-- (<a>$</a> 0) xs</tt>, or <tt><a>zipWith</a> (<a>$</a>) fs xs</tt>.
--
--- Note that <tt>($)</tt> is levity-polymorphic in its result type, so
--- that foo $ True where foo :: Bool -&gt; Int# is well-typed
+-- Note that <tt>(<a>$</a>)</tt> is levity-polymorphic in its result
+-- type, so that <tt>foo <a>$</a> True</tt> where <tt>foo :: Bool -&gt;
+-- Int#</tt> is well-typed.
($) :: () => (a -> b) -> a -> b
infixr 0 $
($$) :: (a -> b) -> a -> b