title: Filtering a list of lists in Haskell
body: <p>I want a function <code>Int -&gt; [[String]]</code>, trying to filter out the elements that have a specific value on the Inth spot. I thought I could combine <code>filter</code> and <code>!!</code> but I can't get it to work. So far I have:</p>
  
  <pre><code>filter (!! (== value)) rows
  </code></pre>
  
  <p>where <code>value</code> is a <code>String</code> and <code>rows</code> is a <code>[[String]]</code>. I thought it would take the <code>Int</code> combined with a <code>[String]</code> from <code>rows</code> and check if that particular entry equals <code>value</code> and then keep those rows, but it gets interpreted differently. Any help would be appreciated.</p>