Bizmonger.ActivePatterns 1.0.2

.NET Framework 4.6.1
dotnet add package Bizmonger.ActivePatterns --version 1.0.2
NuGet\Install-Package Bizmonger.ActivePatterns -Version 1.0.2
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="Bizmonger.ActivePatterns" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Bizmonger.ActivePatterns --version 1.0.2
#r "nuget: Bizmonger.ActivePatterns, 1.0.2"
#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 Bizmonger.ActivePatterns as a Cake Addin
#addin nuget:?package=Bizmonger.ActivePatterns&version=1.0.2

// Install Bizmonger.ActivePatterns as a Cake Tool
#tool nuget:?package=Bizmonger.ActivePatterns&version=1.0.2

module ValuesAP

let (|Equal|Different|) = function
   | v1, v2 when v1 = v2 -> Equal
   | _                   -> Different

module ListsAP

let (|None|One|Many|) (x:'a list) =
   match x with
   | x when x.Length > 1 -> Many
   | x when x.Length = 1 -> One
   | _                   -> None

module NumbersAP

let (|Positive|Neutral|Negative|) = function
   | x when x > 0 -> Positive
   | x when x < 0 -> Negative
   | _            -> Neutral

Product Versions
.NET Framework net461 net462 net463 net47 net471 net472 net48 net481
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.2 1,064 4/8/2016
1.0.1 884 4/8/2016
1.0.0 905 4/7/2016

Separated active patterns into modules