SuccincT 4.0.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.
Install-Package SuccincT -Version 4.0.0
dotnet add package SuccincT --version 4.0.0
<PackageReference Include="SuccincT" Version="4.0.0" />
paket add SuccincT --version 4.0.0
Release Notes
V4.0.0 introduces a number of breaking changes so please read the wiki before upgrading. Maybe<T> has been removed and Option, Success, Either and the union types are all now structs. Added withers, new generic value/error type and C# 8 pattern matching support. Alsp enables the NRT feature for C# 8.
Dependencies
-
.NETStandard 2.0
- System.ValueTuple (>= 4.3.0)
Used By
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
This package is not used by any popular GitHub repositories.
Version History
Version | Downloads | Last updated |
---|---|---|
4.0.0 | 1,676 | 2/17/2020 |
3.2.0 | 18,935 | 5/17/2018 |
3.1.0 | 5,850 | 2/12/2018 |
3.0.1 | 7,754 | 6/27/2017 |
3.0.0 | 801 | 5/25/2017 |
2.3.0 | 7,656 | 3/8/2017 |
2.2.0 | 673 | 1/25/2017 |
2.1.0 | 918 | 8/26/2016 |
2.0.0 | 761 | 6/28/2016 |
1.6.0 | 985 | 4/18/2016 |
1.5.1 | 789 | 1/12/2016 |
1.5.0 | 834 | 11/4/2015 |
1.4.1 | 742 | 10/19/2015 |
1.4.0 | 741 | 9/22/2015 |
1.3.2 | 750 | 7/1/2015 |
1.3.0 | 748 | 6/30/2015 |
1.2.0 | 785 | 6/23/2015 |
1.1.0 | 743 | 6/22/2015 |
1.0.0 | 780 | 6/17/2015 |