Sign in Sign up
nuget

SuccincT

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.

nuget View on Nuget

Activity

Latest release
6y ago
Total releases
19
Cadence
~2 months
Last 12 months
0

Details

First release
Jun 17, 2015
Releases
Version Released
4.0.0 major
3.2.0 minor
3.1.0 minor
3.0.1 patch
3.0.0 major
2.3.0 minor
2.2.0 minor
2.1.0 minor
2.0.0 major
1.6.0 minor
1.5.1 patch
1.5.0 minor
1.4.1 patch
1.4.0 minor
1.3.2 patch
1.3.0 minor
1.2.0 minor
1.1.0 minor
1.0.0 initial