title: Finding all vectors in a list which contain a value
body: <p>I have a list of vectors of integers and I would like to have a function which gives me the indices of all vectors which contain a given integer. Something like <code>lapply(list, match(integer))</code>.</p>
  
  <p>The problem with this is that this syntax is not the right way to put a function of two variables (such as <code>match</code>) to <code>lapply</code>.</p>
  
  <p>What would be the right way to write it?</p>