[1 of 1] Compiling Main ( prog.hs, prog.o )
prog.hs:3:19:
Could not deduce (Eq a) from the context ()
arising from a use of `==' at prog.hs:3:19-24
Possible fix:
add (Eq a) to the context of the type signature for `member'
In the first argument of `(||)', namely `(x == y)'
In the expression: (x == y) || member y xs
In the definition of `member':
member y (x : xs) = (x == y) || member y xs