title: How do I use arrows here?
body: <p>Consider</p>
  
  <pre><code>foldr (\x (a,b) -&gt; (a || x==2, b || x==7 )) (False,False) [1..6]
  --(True,False)
  </code></pre>
  
  <p>Ignoring the fact that this could be written easily using <code>elem</code>, I have the strong feeling that I could employ <code>Arrow</code> syntax to simplify the lambda, I just can't get it right. </p>
  
  <p>Can this lambda be simplified using arrows? And do you have any general hints concerning how to "see" when arrows might work, and how to find the right expression?</p>