NCommons.Monads
2.0.0
dotnet add package NCommons.Monads --version 2.0.0
NuGet\Install-Package NCommons.Monads -Version 2.0.0
<PackageReference Include="NCommons.Monads" Version="2.0.0" />
paket add NCommons.Monads --version 2.0.0
#r "nuget: NCommons.Monads, 2.0.0"
// Install NCommons.Monads as a Cake Addin
#addin nuget:?package=NCommons.Monads&version=2.0.0
// Install NCommons.Monads as a Cake Tool
#tool nuget:?package=NCommons.Monads&version=2.0.0
NCommons is a set of several .NET libraries which provide common building blocks that can be used by any kind of library or application.
This library provides several members which assist in writing type-safe and expressive code. Even though the package is called "Monads", the included members don't necessarily have to be monadic. In general, the goal of the package is to provide utility types, monadic or not, which assist in writing precise code that still looks and behaves like traditional C#. While inspired by functional programming languages, the provided types still look and feel like types that could come straight from the .NET Framework's BCL.
Commonly Used Types:
Optional<T>
Variant<T1>, ..., Variant<T1,...,T8>
You can find additional information and documentation on the library's GitHub page: https://github.com/manuelroemer/NCommons
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETStandard 2.0
- No dependencies.
-
.NETStandard 2.1
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on NCommons.Monads:
Package | Downloads |
---|---|
ReqRest
ReqRest allows you to easily project a RESTful HTTP API to a C#/VB library that feels and behaves like a normal C# API. If you use ReqRest to wrap your REST API, you will end up with a library that is fully typed, has IntelliSense and compiler support and is thus incredibly easy to use. In addition, ReqRest makes this process as simple as possible. You will be able to leverage a fluent method style for defining how the REST API behaves for different scenarios, i.e. what input it expects and what it returns. Under the hood, ReqRest follows one very simple core philosophy - to be nothing more but an enhancement of the .NET Framework. ReqRest tries to utilize .NET's types whenever possible. As a result, most members in the library are nothing more but a convenient, specialized way to create HTTP requests using .NET's HttpClient API. This means that libraries built with ReqRest are incredibly adaptable. Whatever you can do with an HttpClient, you can do with ReqRest. Your imagination is your limit! Learn more about ReqRest at https://github.com/ReqRest/ReqRest and https://reqrest.github.io. |
GitHub repositories
This package is not used by any popular GitHub repositories.