tcfail015.hs:7:13: error: [GHC-39999] • No instance for ‘Num Bool’ arising from the literal ‘2’ • In the expression: 2 In an equation for ‘g’: g (ANull) = 2