Bizmonger.ActivePatterns
1.0.2
dotnet add package Bizmonger.ActivePatterns --version 1.0.2
NuGet\Install-Package Bizmonger.ActivePatterns -Version 1.0.2
<PackageReference Include="Bizmonger.ActivePatterns" Version="1.0.2" />
paket add Bizmonger.ActivePatterns --version 1.0.2
#r "nuget: Bizmonger.ActivePatterns, 1.0.2"
// 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 Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
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.
Separated active patterns into modules