Amplified.CSharp 2.0.0

Provides a set of types that provide null safety and functional chaining, to enable a functional-like programming style in C#.

There is a newer version of this package available.
See the version list below for details.
Install-Package Amplified.CSharp -Version 2.0.0
dotnet add package Amplified.CSharp --version 2.0.0
<PackageReference Include="Amplified.CSharp" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Amplified.CSharp --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Completely rewrote the library to provide a cleaner API surface.
* Removed Some<T> because it was never intended for it to be a separate type.
* None is kept in, to enable a None() static method without a type argument.
* Improves attribute coverage on types and methods
* Added an AsyncMaybe<T> type, that enables the use of the await keyword for working with asynchronous operations.
* Maybe<T> is seamlessly converted to AsyncMaybe<T> when using an async operation on types of it.
* All async operators are postfixed with Async, e.g. MapAsync, FilterAsync. It is convention that any operator on Maybe<T> postfixed with Async must return an AsyncMaybe<T>.
* Awaiting an AsyncMaybe<T> returns a Maybe<T>.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.0.1 5,245 6/29/2017
2.0.0 510 6/29/2017
1.1.0-alpha4 487 6/8/2017
1.1.0-alpha3 482 6/8/2017
1.1.0-alpha2 284 6/6/2017
1.1.0-alpha1 337 6/6/2017
1.0.12 320 3/28/2017
1.0.11 360 3/27/2017
1.0.10 347 2/9/2017
1.0.9 391 2/4/2017
1.0.8 623 2/3/2017
1.0.7 394 12/22/2016
1.0.6 454 12/22/2016
1.0.5 313 12/22/2016
1.0.4 309 12/22/2016
1.0.2 436 12/22/2016