general-games-0.3.0: Library supporting simulation of a number of games

Safe HaskellSafe
LanguageHaskell2010

Game.Implement.Card.Standard

Documentation

data PlayingCard Source #

Constructors

PlayingCard Rank Suit 

Instances

Bounded PlayingCard Source # 
Enum PlayingCard Source # 
Eq PlayingCard Source # 
Ord PlayingCard Source # 
Show PlayingCard Source # 
Card PlayingCard Source # 
OrderedCard PlayingCard Order Source # 
ValuedCard PlayingCard Suit Source # 
ValuedCard PlayingCard Rank Source # 
OrderedValuedCard PlayingCard Order ValueType Source # 

data Value Source #

Constructors

RankValue 
SuitValue 

Instances

Eq Value Source # 

Methods

(==) :: Value -> Value -> Bool #

(/=) :: Value -> Value -> Bool #