title: How to break iterating over a list in FSharp?
body: <p>I want to stop iterating over a List when the first item matches a condition.</p>
  <pre><code>let list1 = [1; 2; 3; 4; 5; 6; 7; 8; 9; 10]
  let list2 = [1; 2; 9]
  list1 |&gt; List.iter (fun item -&gt;
          match List.contains item list2 with
          | false -&gt; printfn &quot; Not Present %A&quot; item
          | true -&gt; printfn &quot;%A&quot; item)
  </code></pre>
  <p>I want to only print the first item that is not present here that would be 3 in this case. How do I do that while writing code functionally ?</p>