Skip to content

Commit

Permalink
replace linear search with pattern matching. this appears to break gh…
Browse files Browse the repository at this point in the history
…ci though
  • Loading branch information
DarkMatters committed Aug 28, 2011
1 parent 762690e commit 3a90097
Show file tree
Hide file tree
Showing 4 changed files with 5,952 additions and 164 deletions.
2 changes: 1 addition & 1 deletion CactusKevEvaluator.hs
Expand Up @@ -6,7 +6,7 @@ import HandEvaluator (Evaluator(..))
import Hand (Hand(..), Category(..))
import Card (Card(..))
import Data.Bits ((.&.),(.|.),shiftR)
import LookupNaive (lookupFlushes, lookupUnique5, getValueFromProduct)
import LookupPatternMatch (lookupFlushes, lookupUnique5, getValueFromProduct)

-- Should perhaps keep the lookup tables in here? Again, something not right
data CactusKev = CactusKev
Expand Down

0 comments on commit 3a90097

Please sign in to comment.