AV
Size: a a a
AV
MK
AV
AV
AA
AV
foo :: a-> a -> a
foo a b = a + b
AV
AV
• No instance for (Num a) arising from a use of ‘+’
Possible fix:
add (Num a) to the context of
the type signature for:
goo :: forall a. a -> a -> a
• In the expression: a + b
In an equation for ‘goo’: goo a b = a + b
AV
AV
AV
AV
AA
AV
AA
AV
AA
AV