title: Haskell Syntax: Adding ints from tuples in a list
body: <p>I've searched the site but couldn't find anything specific to this problem..</p>
  
  <p>I have a list that contains triples of <code>strings</code> and <code>integers</code> like so:</p>
  
  <pre><code>mylist = [("Amy", 6), ("Scott, 3"), ("Bradley", 4)]
  </code></pre>
  
  <p>I want to write a function that will just add up all the integers from this list</p>
  
  <p>I currently have the function:</p>
  
  <pre><code>addMarks :: [(String, Int)] -&gt; Int
  addMarks pairList = [ j+j | (i,j) &lt;- pairList ]
  </code></pre>
  
  <p><code>j+j</code> doesn't work, I'm not sure on the correct syntax to add just the <code>'j'</code>s and leave the <code>i</code>.</p>