title: Matching and deleting items in list of tuples
body: <p>I have a list of tuples, say,</p>
  
  <pre><code>[{x, a, y}, {x, b, y}].
  </code></pre>
  
  <p>Is there a built-in function (or can I use a combination of BIFs) to delete all tuples matching <code>{x, _, y}</code>, as in match and delete based on the first and third term in the tuples, ignoring the second?</p>