Info
Version: | 4.0.0 |
Author(s): | David Arno |
Last Update: | Monday, February 17, 2020 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/SuccincT |
Install
Install-Package SuccincT
dotnet add package SuccincT
paket add SuccincT
SuccincT Download (Unzip the "nupkg" after downloading)
Dependencies
- System.ValueTuple(>= 4.3.0)
Tags
* 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.