Haskell implementation of Magic: The Gathering