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.
For every combination you need to provide the corresponding recognizer, which is a function of the type
Hand -> MaybeCombo.Forinstance,thefunctioncheckFlushcheckFlush :: Hand -> Maybe Combo checks if the given hand is a Flush, and if it is not returns Nothing.