Can you see some error? I can't! GHC points at:
Err == Err = True
But this line is ok (maybe).
data Stone = Black | White | None | Err
instance Eq Stone where
Black == Black = True
White == White = True
None == None = True
Err == Err = True
_ == _ = False
instance Show Stone where
show Black = "B "
show White = "W "
show Err = "E "
show None = "N "
Error message: main.hs:9:20: parse error on input `='