This snippet is from LYAH:
instance (Eq m) => Eq (Maybe m) where
Just x == Just y = x == y
Nothing == Nothing = True
_ == _ = False
I am totally confused as to what x and y are supposed to be since they are not defined anywhere. Can anyone help me understand this?