title: Haskell : using the `find` function on a list of tuples
body: <p>I was wondering if anyone could help me. Suppose I have a tuple of type <code>(String,Int)</code>, and a list of such tuples <code>[("Strength",12),("Stamina",60),("Health",100)]</code> . </p>
  
  <p>How can I use the function <code>find</code> to extract the <code>Int</code> value of the tuple <code>("Stamina",60)</code> if I don't actually know what order the tuples are inside the list but only that a certain tuple containing the string <code>"Stamina"</code> exists?</p>
  
  <p>I tried</p>
  
  <pre><code>value =   snd ( find ("Stamina", _ ) stats )
  </code></pre>
  
  <p>where <code>stats</code> is the list of tuples and <code>value</code> is defined as</p>
  
  <pre><code>  value :: a -&gt; Int    
  </code></pre>
  
  <p>..but it doesn't work :/ So any ideas? I'm specifically meant to use <code>find</code>.</p>