Bizmonger.ActivePatterns 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

Install-Package Bizmonger.ActivePatterns -Version 1.0.2
dotnet add package Bizmonger.ActivePatterns --version 1.0.2
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Separated active patterns into modules

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.2 420 4/8/2016
1.0.1 308 4/8/2016
1.0.0 312 4/7/2016