List.pick<'T,'U> Function (F#)
Visual Studio 2012
Applies the given function to successive elements, returning the first result where function returns Some for some value. If no such element exists then this function raises KeyNotFoundException.
Namespace/Module Path: Microsoft.FSharp.Collections.List
Assembly: FSharp.Core (in FSharp.Core.dll)
// Signature:
List.pick : ('T -> 'U option) -> 'T list -> 'U
// Usage:
List.pick chooser list