Skip to content

Instantly share code, notes, and snippets.

@SteveGilham
Created April 20, 2015 19:13
public static FSharpOption<T> Option`1.select.Static(FSharpFunc<T, bool> f, T x)
{
if (f.Invoke(x))
{
}
return FSharpOption<T>.Some(x);
return null;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment