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

Safe HaskellSafe
LanguageHaskell2010

Game.Implement.Card.Standard

Documentation

uniqueNumLists :: RandomGen g => [Int] -> Int -> Int -> Rand g (Maybe [[Int]]) Source #

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 #