Haskell library for card games