Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
class Card c => ValuedCard c v where Source #
class Card c => OrderedCard c o where Source #
highestCardBy :: o -> [c] -> c Source #
lowestCardBy :: o -> [c] -> c Source #
compareCardBy :: o -> c -> c -> Ordering Source #
sortCardsBy :: o -> [c] -> [c] Source #
class OrderedCard c o => OrderedValuedCard c o vt where Source #
toOrderedValue :: o -> vt -> c -> Int Source #