Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
public static TRes Match(this FSharpOption opt, Func some, Func none)
if (FSharpOption.get_IsSome(opt))
return some.Invoke(opt.Value);
return none.Invoke();

This comment has been minimized.

Copy link

bartelink commented Jan 30, 2014

Some angle bracket stripping going on - I assume it actually looks like this;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.