title: Different Between type Player and data Player?
body: <p>what's the diference between:</p>
  <p><strong>A):</strong></p>
  <pre><code>type Player = (String, Int)
  
  name:: Player -&gt; String
  name (n,_) = n
  
  number :: Player -&gt; Int
  number (_,i) = i
  </code></pre>
  <p>and <strong>B):</strong></p>
  <pre><code>data Player = Player { name :: String
                        , number :: Int
                        }
  </code></pre>
  <p>When do I use each one?</p>