Top 3.7% downloads on nuget.org
Top 4.8% dependent packages on nuget.org
Top 2.9% dependent repos on nuget.org
nuget.org : succinct
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.
Registry
-
Source
- JSON
purl: pkg:nuget/succinct
Keywords:
Partial
, application
, Discriminated
, unions
, Options
, Maybe
, Pattern
, matching
, cons
, functional
License:
Latest release: over 5 years ago
First release: about 10 years ago
Dependent packages: 3
Dependent repositories: 6
Downloads: 161,558 total
Stars: 263 on GitHub
Forks: 15 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 6 days ago