Option 2.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Option --version 2.0.0
NuGet\Install-Package Option -Version 2.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Option" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Option --version 2.0.0
#r "nuget: Option, 2.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Option as a Cake Addin
#addin nuget:?package=Option&version=2.0.0

// Install Option as a Cake Tool
#tool nuget:?package=Option&version=2.0.0

Binaries for the Option type.
       Visit https://github.com/tejacques/Option for an overview and usage examples.

Product Compatible and additional computed target framework versions.
.NET Framework net35 is compatible.  net40 was computed.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Option:

Package Downloads

Logical programming tool with Prolog-styled features and object to fact mapping.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Option:

Repository Stars
A library to help bridge C# async method execution from synchronous methods, such as in Windows Forms and ASP.NET.
Version Downloads Last updated
3.0.1 2,935,876 3/13/2015
3.0.0 2,931 3/24/2014
2.0.2 1,971 10/3/2013
2.0.0 1,843 9/29/2013

Version Release Notes:

       Version 2.0.0:
       - Added functional pattern matching as a fluent API to Options in the form:
         var matcher = Option<T>.PatternMatch()
             .None(() => { /* Action when the Option is None */ })
             .Some(value, () => { /* Action when the Option is value */ })
             .Some((value) => { /* Action when the Option is Some<T> */ });

         matcher.Result(Option<T> option); /* Will run the appropriately matched action on the option */

         These are also present as instance functions on Option<T>:

         Option<int> option = getOptionFromMethodCall();

         var result = option.Match<string>()
             .None(() => "None")
             .Some(0, () => "Zero")
             .Some((value) => value.ToString())

       - Pattern matching matches one and only one pattern.
       - Tests have 100% code coverage.
       - New Some<T> and None<T> classes.

       - Breaking Changes:
         - From() method replaced with Some().
         - ToOption() extension method has been removed.

       Version 1.0.1:
       - Include documentation.

       Version 1.0.0:
        - Adds the Option type to the System.Option namespace.