title: How to use data types in Haskell after you defined them?
body: <p>I defined a data <code>Suit</code> and a data <code>Value</code> for a deck of cards.  I also defined the type <code>Card</code> and type <code>Deck</code>.  But I have no idea how to use them.</p>
  
  <pre><code>data Suit = Club | Diamond | Heart | Spade
  
  data Value = Two | Three | Four | Five | Six | Seven | Eight | Nine | Ten | 
    Jack | Queen | King | Ace
  
  type Card = (Suit, Value)
  
  type Deck = [Card]
  </code></pre>
  
  <p>Can someone give me an example of how to use the these?</p>