concept Eq in category haskell

appears as: Eq
Haskell in Depth

This is an excerpt from Manning's book Haskell in Depth.

data Direction = North | East | South | West
  deriving (Eq, Enum, Bounded, Show)

data Turn = TNone | TLeft | TRight | TAround
  deriving (Eq, Enum, Bounded, Show)