2,159

Downloads

19

Downloads of v 3.0.0

3

Average downloads per day

2017-05-25

Last published

Share on Social Networks

SuccincT

3.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.

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
Succinc<T> 2.3.0 203 Wednesday, March 8, 2017
Succinc<T> 2.2.0 189 Wednesday, January 25, 2017
Succinc<T> 2.1.0 264 Friday, August 26, 2016
SuccincT 2.0.0 123 Tuesday, June 28, 2016
SuccincT 1.6.0 226 Monday, April 18, 2016
SuccincT 1.5.1 128 Tuesday, January 12, 2016
SuccincT 1.5.0 158 Wednesday, November 4, 2015
SuccincT 1.4.1 100 Monday, October 19, 2015
SuccincT 1.4.0 113 Tuesday, September 22, 2015
SuccincT 1.3.2 118 Wednesday, July 1, 2015
SuccincT 1.3.0 102 Tuesday, June 30, 2015
SuccincT 1.2.0 110 Tuesday, June 23, 2015
SuccincT 1.1.0 105 Monday, June 22, 2015
SuccincT 1.0.0 122 Wednesday, June 17, 2015