How to write FirstOrDefault Linq Query in F#? Can I use linq to sql in F# in totally?
Note that a more idiomatic approach within F# would probably be to use something along the lines of Seq.tryFind rather than to use the LINQ operators, although it's not a drop in replacement since it returns an option value.
Seq.tryFind