1,769

Downloads

36

Downloads of v 2.3.0

2

Average downloads per day

2017-03-08

Last published

Share on Social Networks

Succinc<T>

2.3.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).

* 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 Succinc<T>, run the following command in the Package Manager Console

Install-Package SuccincT

Release Notes

V2.3.0 introduces the Success<T> and Either<TLeft,TRight> types, a number of new features for options, wildcard matching on tuples and type-based matching for general types.

Owners

Authors

David Arno

Copyright

Copyright 2017, David Arno

Tags

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
Succinc<T> 2.2.0 142 Wednesday, January 25, 2017
Succinc<T> 2.1.0 246 Friday, August 26, 2016
SuccincT 2.0.0 111 Tuesday, June 28, 2016
SuccincT 1.6.0 210 Monday, April 18, 2016
SuccincT 1.5.1 117 Tuesday, January 12, 2016
SuccincT 1.5.0 145 Wednesday, November 4, 2015
SuccincT 1.4.1 90 Monday, October 19, 2015
SuccincT 1.4.0 102 Tuesday, September 22, 2015
SuccincT 1.3.2 107 Wednesday, July 1, 2015
SuccincT 1.3.0 91 Tuesday, June 30, 2015
SuccincT 1.2.0 99 Tuesday, June 23, 2015
SuccincT 1.1.0 94 Monday, June 22, 2015
SuccincT 1.0.0 109 Wednesday, June 17, 2015