From d66a17f3d7552ccd82b5b4b491013f9ac9498966 Mon Sep 17 00:00:00 2001 From: Alec Theriault Date: Wed, 12 Dec 2018 08:34:57 -0800 Subject: 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 --- hoogle-test/ref/Bug873/test.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'hoogle-test/ref') 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 map -- ($ 0) xs, or zipWith ($) fs xs. -- --- Note that ($) is levity-polymorphic in its result type, so --- that foo $ True where foo :: Bool -> Int# is well-typed +-- Note that ($) is levity-polymorphic in its result +-- type, so that foo $ True where foo :: Bool -> +-- Int# is well-typed. ($) :: () => (a -> b) -> a -> b infixr 0 $ ($$) :: (a -> b) -> a -> b -- cgit v1.2.3