> data Suit = Diamonds | Hearts | Clubs | Spades
>
> data Number =
> Ace | Two | Three | Four | Five | Six | Seven | Eight | Nine | Ten |
> Jack | Queen | King
>
> data Card = Card Suit Number
I get "parse error on input 'data'" for all those.
Guess I'm missing some #include or whatever it's called.
Post a reply to this message
|