stefanooldeman/Poker — Issue #4: Create Hand recognizer
Author: stefanooldeman
Created: 2011-11-24 14:41:33+00:00
State: open
Labels: mod_poker

For every combination you need to provide the corresponding recognizer, which is a function of the type `Hand -> Maybe` Combo.Forinstance,thefunctioncheckFlush
checkFlush :: Hand -> Maybe Combo checks if the given hand is a Flush, and if it is not returns Nothing.