This package features implementations of some of the usual suspects from functional programming: Option (Maybe<T>) and Error (Output<T>) monads, simple pattern matching (Either<T1, T2>, Switch<T1, T2>), generators and delegate extensions. It also provides a few Code Contracts helpers.
This is a portable class library targeting Profile259. The behaviour is 100% identical across all supported platforms; this is achieved without making use of the bait and switch PCL trick.
This library fully passes FxCop, Gendarme and Code Contracts static analysis.
A code contracts reference assembly is also included if you need it.
See the version list below for details.
Install-Package Narvalo.Core -Version 0.23.0
dotnet add package Narvalo.Core --version 0.23.0
<PackageReference Include="Narvalo.Core" Version="0.23.0" />
paket add Narvalo.Core --version 0.23.0
This package has no dependencies.
NuGet packages (7)
Showing the top 5 NuGet packages that depend on Narvalo.Core:
Provides various utilities (simple parsers, Int64 encoders) and extension methods for Collections, SQL client and XDom.
Currency (ISO 4217) and Money types. Allows for a lot of flexibility, you can express an amount in Decimal or Int64, in major or minor units. The library includes support for formatting, rounding and allocation, customized versions of Sum() and Average() from LINQ w/ or w/o rounding, alternative strongly typed currency units and generic Money type.
Provides types that might prove useful for Web development: generic HttpHandler type, asset providers, Razor and WebForms compile-time optimizers.
Features implementations of some of the usual suspects from functional programming: option type (Maybe<T>), error types (Result<T, TError>, Outcome<T> and Fallible<T>) for Railway Oriented Programming, simple disjoint union (Either<T1, T2>), (finite and infinite) sequence generators and LINQ extensions.
BIC (ISO 9362) and IBAN types; includes support for parsing, validation and formatting.
This package is not used by any popular GitHub repositories.