blob: b7e0e4a953636a64717e3dc96088e700bfa9af38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
TYPE SIGNATURES
somethingShowable :: Show Bool => Bool -> String
TYPE CONSTRUCTORS
COERCION AXIOMS
Dependent modules: []
Dependent packages: [base-4.11.1.0, ghc-prim-0.5.2.0,
integer-gmp-1.0.2.0]
SomethingShowable.hs:5:1: warning: [-Wsimplifiable-class-constraints (in -Wdefault)]
• The constraint ‘Show Bool’ matches an instance declaration
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
|