title: How do I use tryPick to get the first element of a sequence?
body: <p>I was trying to use Seq.first today, and the compiler says it has been deprecated in favor of Seq.tryPick. It says that it applies a function and returns the first result that returns Some. I guess I can just say fun x -> x!=0 since I know the first one will return Some in my case, but what is the proper constraint to put here? What is the correct syntax?</p>
  
  <p>To clarify, I want to use it in the format:</p>
  
  <pre><code>let foo(x:seq&lt;int&gt;) =
     x.filter(fun x -&gt; x&gt;0)
     |&gt; Seq.tryPick (??)
  </code></pre>