SuccincT 3.0.1

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 3.0.1
dotnet add package SuccincT --version 3.0.1
paket add SuccincT --version 3.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

V3.0.0 re-introduces support for dotnet core, along with many other frameworks, by switching to being a .netstandard 1.0 library. In addition it brings C# 7 support with cons that now works via a deconstructor, pattern matching on value tuples and indexed enumerations. Please note it alos includes some breaking changes (thus the major version number increase). See the project site for details.

Version History

Version Downloads Last updated
3.0.1 (current version) 382 6/27/2017
3.0.0 190 5/25/2017
2.3.0 353 3/8/2017
2.2.0 277 1/25/2017
2.1.0 297 8/26/2016
2.0.0 151 6/28/2016
1.6.0 255 4/18/2016
1.5.1 159 1/12/2016
1.5.0 192 11/4/2015
1.4.1 128 10/19/2015
1.4.0 139 9/22/2015
1.3.2 147 7/1/2015
1.3.0 130 6/30/2015
1.2.0 136 6/23/2015
1.1.0 131 6/22/2015
1.0.0 149 6/17/2015