tcfail224.hs:8:5: error: [GHC-39999] • No instance for ‘Num Int’ arising from the literal ‘3’ There are instances for similar types: instance Num GHC.Types.Int -- Defined in ‘GHC.Num’ • In the expression: 3 In an equation for ‘f’: f = 3