blob: 4a34c3c81d2d7e0086566914ed1d3b39ff5fb93a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
TYPE SIGNATURES
somethingShowable :: Show Bool => Bool -> String
Dependent modules: []
Dependent packages: [base-4.13.0.0, ghc-bignum-1.0, ghc-prim-0.6.1]
SomethingShowable.hs:5:1: warning: [-Wsimplifiable-class-constraints (in -Wdefault)]
• The constraint ‘Show Bool’ matches
instance Show Bool -- Defined in ‘GHC.Show’
This makes type inference for inner bindings fragile;
either use MonoLocalBinds, or simplify it using the instance
• When checking the inferred type
somethingShowable :: Show Bool => Bool -> String
|