{-| Module : Diplomacy.Phase Description : Definition of phases of play Copyright : (c) Alexander Vieth, 2015 Licence : BSD3 Maintainer : aovieth@gmail.com Stability : experimental Portability : non-portable (GHC only) -} {-# LANGUAGE AutoDeriveTypeable #-} {-# LANGUAGE GADTs #-} {-# LANGUAGE StandaloneDeriving #-} module Diplomacy.Phase ( Phase(..) ) where data Phase where Typical :: Phase Retreat :: Phase Adjust :: Phase deriving instance Show Phase deriving instance Eq Phase deriving instance Ord Phase deriving instance Enum Phase deriving instance Bounded Phase