NCommons.Monads 2.0.0

.NET Standard 2.0
dotnet add package NCommons.Monads --version 2.0.0
NuGet\Install-Package NCommons.Monads -Version 2.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NCommons.Monads" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NCommons.Monads --version 2.0.0
#r "nuget: NCommons.Monads, 2.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// 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:
Variant<T1>, ..., Variant<T1,...,T8>

You can find additional information and documentation on the library's GitHub page:

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
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .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 The ID prefix of this package has been reserved for one of the owners of this package by

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 and

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 453 11/17/2019
1.3.2 2,271 6/27/2019
1.3.1 617 6/20/2019
1.3.0 402 6/16/2019
1.2.0 424 5/6/2019
1.1.1 457 4/2/2019
1.1.0 453 4/1/2019