2,724

Downloads

66

Downloads of v 3.0.1

3

Average downloads per day

2017-06-27

Last published

Share on Social Networks

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.

To install SuccincT, run the following command in the Package Manager Console

Install-Package SuccincT

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.

Owners

Authors

David Arno

Copyright

Copyright © David Arno, 2017

Tags

Dependencies

Version History

Version Downloads Last updated
SuccincT 3.0.0 160 Thursday, May 25, 2017
Succinc<T> 2.3.0 291 Wednesday, March 8, 2017
Succinc<T> 2.2.0 240 Wednesday, January 25, 2017
Succinc<T> 2.1.0 289 Friday, August 26, 2016
SuccincT 2.0.0 143 Tuesday, June 28, 2016
SuccincT 1.6.0 246 Monday, April 18, 2016
SuccincT 1.5.1 142 Tuesday, January 12, 2016
SuccincT 1.5.0 176 Wednesday, November 4, 2015
SuccincT 1.4.1 115 Monday, October 19, 2015
SuccincT 1.4.0 127 Tuesday, September 22, 2015
SuccincT 1.3.2 132 Wednesday, July 1, 2015
SuccincT 1.3.0 118 Tuesday, June 30, 2015
SuccincT 1.2.0 124 Tuesday, June 23, 2015
SuccincT 1.1.0 120 Monday, June 22, 2015
SuccincT 1.0.0 136 Wednesday, June 17, 2015