OptionSharp 0.2.5
See the version list below for details.
dotnet add package OptionSharp --version 0.2.5
NuGet\Install-Package OptionSharp -Version 0.2.5
<PackageReference Include="OptionSharp" Version="0.2.5" />
<PackageVersion Include="OptionSharp" Version="0.2.5" />
<PackageReference Include="OptionSharp" />
paket add OptionSharp --version 0.2.5
#r "nuget: OptionSharp, 0.2.5"
#:package OptionSharp@0.2.5
#addin nuget:?package=OptionSharp&version=0.2.5
#tool nuget:?package=OptionSharp&version=0.2.5
OptionSharp
Just another option to choose from.
If you are looking for stable, production ready lib you are better off using something like LanguageExt.Core.
Motivation
Most C# optional implementations use structs for better performance, which makes a lot of sense.
This lib instead uses separate classes to model optional objects. The benefit here is that "if" C# gets discriminated unions, then this model will fit in nicely and allow for idiomatic code.
So in short, at this point, its a gamble + fun side project to learn more about functional style in C# where performance is not a primary concern.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net7.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.3.1 | 224 | 4/30/2025 |
| 0.2.5 | 210 | 8/24/2024 |
| 0.2.4 | 178 | 6/17/2024 |
| 0.2.1 | 169 | 5/10/2024 |
| 0.1.3-alpha | 149 | 2/25/2024 |
| 0.1.0-alpha | 145 | 2/11/2024 |