Amplified.CSharp
2.0.1
Provides a set of types that provide null safety and functional chaining, to enable a functional-like programming style in C#.
Install-Package Amplified.CSharp -Version 2.0.1
dotnet add package Amplified.CSharp --version 2.0.1
<PackageReference Include="Amplified.CSharp" Version="2.0.1" />
paket add Amplified.CSharp --version 2.0.1
#r "nuget: Amplified.CSharp, 2.0.1"
// Install Amplified.CSharp as a Cake Addin
#addin nuget:?package=Amplified.CSharp&version=2.0.1
// Install Amplified.CSharp as a Cake Tool
#tool nuget:?package=Amplified.CSharp&version=2.0.1
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>.
Dependencies
-
.NETFramework 4.5
- No dependencies.
-
.NETStandard 1.4
- NETStandard.Library (>= 1.6.0)
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version History
Version | Downloads | Last updated |
---|---|---|
2.0.1 | 7,242 | 6/29/2017 |
2.0.0 | 895 | 6/29/2017 |
1.1.0-alpha4 | 769 | 6/8/2017 |
1.1.0-alpha3 | 754 | 6/8/2017 |
1.1.0-alpha2 | 563 | 6/6/2017 |
1.1.0-alpha1 | 640 | 6/6/2017 |
1.0.12 | 611 | 3/28/2017 |
1.0.11 | 642 | 3/27/2017 |
1.0.10 | 646 | 2/9/2017 |
1.0.9 | 669 | 2/4/2017 |
1.0.8 | 985 | 2/3/2017 |
1.0.7 | 687 | 12/22/2016 |
1.0.6 | 749 | 12/22/2016 |
1.0.5 | 594 | 12/22/2016 |
1.0.4 | 588 | 12/22/2016 |
1.0.2 | 768 | 12/22/2016 |