List.partition<'T> Function (F#)
Visual Studio 2012
Splits the collection into two collections, containing the elements for which the given predicate returns true and false respectively.
Namespace/Module Path: Microsoft.FSharp.Collections.List
Assembly: FSharp.Core (in FSharp.Core.dll)
// Signature:
List.partition : ('T -> bool) -> 'T list -> 'T list * 'T list
// Usage:
List.partition predicate list