LanguageExt 0.1.2-beta
dotnet add package LanguageExt --version 0.1.2-beta
NuGet\Install-Package LanguageExt -Version 0.1.2-beta
<PackageReference Include="LanguageExt" Version="0.1.2-beta" />
paket add LanguageExt --version 0.1.2-beta
#r "nuget: LanguageExt, 0.1.2-beta"
// Install LanguageExt as a Cake Addin
#addin nuget:?package=LanguageExt&version=0.1.2-beta&prerelease
// Install LanguageExt as a Cake Tool
#tool nuget:?package=LanguageExt&version=0.1.2-beta&prerelease
Using and abusing the features of C# 6 to provide lots of functions and types, which, if you squint, can look like extensions to the language itself.
This package brings functional helpers for classic C# problems:
Poor tuple support
Null reference problem
Lack of lambda and expression inference
Void isn't a real type
Mutable lists and dictionaries
The awful 'out' parameter
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
-
.NETFramework 4.5
- System.Collections.Immutable (>= 1.1.34-rc)
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.1.2-beta | 103 | 4/16/2015 |
0.1.1-beta | 66 | 2/19/2015 |
0.0.14-beta | 40 | 2/4/2015 |
0.0.12-beta | 42 | 1/15/2015 |
0.0.11-beta | 35 | 1/15/2015 |
0.0.10-beta | 38 | 1/15/2015 |
0.0.8-beta | 123 | 11/23/2014 |
0.0.7-beta | 64 | 11/22/2014 |
0.0.6-beta | 65 | 11/22/2014 |
0.0.4-beta | 71 | 11/21/2014 |
0.0.3-beta | 124 | 11/20/2014 |
0.0.2-beta | 193 | 11/19/2014 |
0.0.1-beta | 262 | 11/19/2014 |
Deprecated headSafe
Added headOrNone for safely finding the optional head item in a collection
Added Query namespace (static class) for working with IQueryable. Has functions:
- headOrNone
- tail
- map
- filter
- choose
- collect
- sum
- rev
- append
- fold
- foldBack
- reduce
- reduceBack
- find
- freeze
- zip
- length
- iter
- forall
- distinct
- take
- takeWhile
- exists
Option and Some TypeConverter support