| Copyright | (c) 2017 Christopher A. Gorski |
|---|---|
| License | MIT |
| Maintainer | Christopher A. Gorski <cgorski@cgorski.org> |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Game.Implement.Card.Standard.Poker
Description
The Game.Implement.Card.Standard.Poker module defines data types and type class instances for ordered operations on PlayingCard cards.
Documentation
Order defines an order to use when sorting a card. AceHighRankOrder sorts under the
assumption that an Ace is a high card, and AceLowRankOrder under the assumption that an
Ace is a low card. SuitOrder sorts cards by suit, irrespective of their rank.
Constructors
| AceHighRankOrder | |
| AceLowRankOrder | |
| SuitOrder |
ValueType indicates the type Int value to be assigned to a card when the card
is evaluated by game value.
Constructors
| RankValueType | |
| SuitValueType |
Instances