SuccincT 3.1.0
See the version list below for details.
dotnet add package SuccincT --version 3.1.0
NuGet\Install-Package SuccincT -Version 3.1.0
<PackageReference Include="SuccincT" Version="3.1.0" />
paket add SuccincT --version 3.1.0
#r "nuget: SuccincT, 3.1.0"
// Install SuccincT as a Cake Addin
#addin nuget:?package=SuccincT&version=3.1.0
// Install SuccincT as a Cake Tool
#tool nuget:?package=SuccincT&version=3.1.0
Succinc<T> is a .NET library that adds a number of functional features to C#:
* Discriminated unions,
* Pattern matching,
* Partial applications,
* "Implicitly" typed lambdas,
* The ability to treat void methods as Unit functions,
* Replacements for TryParse methods that return an Option<T> (or Maybe<T>, if you prefer), rather than using the out parameter anti-pattern.
* "cons" support for IEnumerable<T> (add elements to the head of an enumeration, or split an enumeration into its head element and an enumeration containing the remaining items, all without repeatedly enumerating that enumerable).
* Indexed enumerations,
* Cycle() methods that endlessly repeat an enumeration, again without repeatedly enumerating that enumerable).
* Replacements for IEnumerable<T>'s XXXOrDefault methods that return an Option<T> (or Maybe<T>, if you prefer), avoiding null and the "did it return a value, or the default?" problem,
* And finally, basic parameter piping support.
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
.NET Core | netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard1.0 netstandard1.1 netstandard1.2 netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1 |
.NET Framework | net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen30 tizen40 tizen60 |
Universal Windows Platform | uap uap10.0 |
Windows Phone | wp8 wp81 wpa81 |
Windows Store | netcore netcore45 netcore451 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETFramework 4.5
- System.ValueTuple (>= 4.3.0)
-
.NETStandard 1.0
- NETStandard.Library (>= 1.6.1)
- System.ValueTuple (>= 4.3.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on SuccincT:
Package | Downloads |
---|---|
SuccincT.JSON
SuccincT.JSON adds JSON serialization support to Succinc<T>, a .NET library that adds a number of functional features to C#. |
|
Converto.SuccincT
A C# library which gives you basic functions for type conversion and object transformation |
|
ReduxSimple.DevTools
Simple Stupid Redux Store using Reactive Extensions |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on SuccincT:
Repository | Stars |
---|---|
Odonno/ReduxSimple
Simple Stupid Redux Store using Reactive Extensions
|
Version | Downloads | Last updated |
---|---|---|
4.0.0 | 21,334 | 2/17/2020 |
3.2.0 | 28,990 | 5/17/2018 |
3.1.0 | 7,663 | 2/12/2018 |
3.0.1 | 9,954 | 6/27/2017 |
3.0.0 | 1,426 | 5/25/2017 |
2.3.0 | 14,577 | 3/8/2017 |
2.2.0 | 1,181 | 1/25/2017 |
2.1.0 | 1,342 | 8/26/2016 |
2.0.0 | 1,170 | 6/28/2016 |
1.6.0 | 1,444 | 4/18/2016 |
1.5.1 | 1,226 | 1/12/2016 |
1.5.0 | 1,269 | 11/4/2015 |
1.4.1 | 1,170 | 10/19/2015 |
1.4.0 | 1,225 | 9/22/2015 |
1.3.2 | 1,193 | 7/1/2015 |
1.3.0 | 1,178 | 6/30/2015 |
1.2.0 | 1,214 | 6/23/2015 |
1.1.0 | 1,164 | 6/22/2015 |
1.0.0 | 1,203 | 6/17/2015 |
V3.1.0 adds Deconstructors for Option, Maybe and Success types; ValueOrDefault for Option and Maybe types; Pattern matching for Success type; Cons pattern matching; and Accessing Union values directly.