diff options
author | Ryan Scott <ryan.gl.scott@gmail.com> | 2020-04-13 16:31:01 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-04-15 17:48:47 -0400 |
commit | 22cc8e513fcfa89a4391f075534d903596a05895 (patch) | |
tree | 9b48848713d570430bde44f4aaea7319500c25f7 /testsuite/tests/partial-sigs | |
parent | 0b934e30417a767063625494ecf135c9d6006f71 (diff) | |
download | haskell-22cc8e513fcfa89a4391f075534d903596a05895.tar.gz |
Fix #18052 by using pprPrefixOcc in more places
This fixes several small oversights in the choice of pretty-printing
function to use. Fixes #18052.
Diffstat (limited to 'testsuite/tests/partial-sigs')
-rw-r--r-- | testsuite/tests/partial-sigs/should_compile/ExtraConstraints3.stderr | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/testsuite/tests/partial-sigs/should_compile/ExtraConstraints3.stderr b/testsuite/tests/partial-sigs/should_compile/ExtraConstraints3.stderr index 3b94743dbb..09a6ce2a17 100644 --- a/testsuite/tests/partial-sigs/should_compile/ExtraConstraints3.stderr +++ b/testsuite/tests/partial-sigs/should_compile/ExtraConstraints3.stderr @@ -1,28 +1,28 @@ TYPE SIGNATURES - !! :: forall {a}. [a] -> Int -> a - $ :: forall {a} {b}. (a -> b) -> a -> b - $! :: forall {a} {b}. (a -> b) -> a -> b - && :: Bool -> Bool -> Bool - * :: forall {a}. Num a => a -> a -> a - ** :: forall {a}. Floating a => a -> a -> a - + :: forall {a}. Num a => a -> a -> a - ++ :: forall {a}. [a] -> [a] -> [a] - - :: forall {a}. Num a => a -> a -> a - . :: forall {b} {c} {a}. (b -> c) -> (a -> b) -> a -> c - / :: forall {a}. Fractional a => a -> a -> a - /= :: forall {a}. Eq a => a -> a -> Bool - < :: forall {a}. Ord a => a -> a -> Bool - <= :: forall {a}. Ord a => a -> a -> Bool - =<< :: + (!!) :: forall {a}. [a] -> Int -> a + ($) :: forall {a} {b}. (a -> b) -> a -> b + ($!) :: forall {a} {b}. (a -> b) -> a -> b + (&&) :: Bool -> Bool -> Bool + (*) :: forall {a}. Num a => a -> a -> a + (**) :: forall {a}. Floating a => a -> a -> a + (+) :: forall {a}. Num a => a -> a -> a + (++) :: forall {a}. [a] -> [a] -> [a] + (-) :: forall {a}. Num a => a -> a -> a + (.) :: forall {b} {c} {a}. (b -> c) -> (a -> b) -> a -> c + (/) :: forall {a}. Fractional a => a -> a -> a + (/=) :: forall {a}. Eq a => a -> a -> Bool + (<) :: forall {a}. Ord a => a -> a -> Bool + (<=) :: forall {a}. Ord a => a -> a -> Bool + (=<<) :: forall {m :: * -> *} {a} {b}. Monad m => (a -> m b) -> m a -> m b - == :: forall {a}. Eq a => a -> a -> Bool - > :: forall {a}. Ord a => a -> a -> Bool - >= :: forall {a}. Ord a => a -> a -> Bool - >> :: forall {m :: * -> *} {a} {b}. Monad m => m a -> m b -> m b - >>= :: + (==) :: forall {a}. Eq a => a -> a -> Bool + (>) :: forall {a}. Ord a => a -> a -> Bool + (>=) :: forall {a}. Ord a => a -> a -> Bool + (>>) :: forall {m :: * -> *} {a} {b}. Monad m => m a -> m b -> m b + (>>=) :: forall {m :: * -> *} {a} {b}. Monad m => m a -> (a -> m b) -> m b - ^ :: forall {b} {a}. (Integral b, Num a) => a -> b -> a - ^^ :: forall {a} {b}. (Fractional a, Integral b) => a -> b -> a + (^) :: forall {b} {a}. (Integral b, Num a) => a -> b -> a + (^^) :: forall {a} {b}. (Fractional a, Integral b) => a -> b -> a abs :: forall {a}. Num a => a -> a acos :: forall {a}. Floating a => a -> a acosh :: forall {a}. Floating a => a -> a @@ -234,7 +234,7 @@ TYPE SIGNATURES zipWith3 :: forall {a} {b} {c} {d}. (a -> b -> c -> d) -> [a] -> [b] -> [c] -> [d] - || :: Bool -> Bool -> Bool + (||) :: Bool -> Bool -> Bool Dependent modules: [] -Dependent packages: [base-4.13.0.0, ghc-prim-0.6.1, - integer-gmp-1.0.2.0] +Dependent packages: [base-4.14.0.0, ghc-prim-0.6.1, + integer-gmp-1.0.3.0] |