Info
Version: | 1.0.0.35-alpha-2 |
Author(s): | Riley White |
Last Update: | Tuesday, September 10, 2019 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/rileywhite/Funship |
NuGet Url: | https://www.nuget.org/packages/Funship |
Install
Install-Package Funship
dotnet add package Funship
paket add Funship
Funship Download (Unzip the "nupkg" after downloading)
Dependencies
Tags
Create a functional list using var list = fist(1, 2, 3, 4), and then use
the library of standard map(), reduce(), etc functions to work with it.
It also deconstructs to a ValueTuple such that C# 8 switch statements
ca pattern match using (var head, Fist tail).
Create a functional function using var f = funf((x, y) => x + y) and then call it using
call(f, 1, 2), which would be 3 in this case.
You can also compose multiple functions
in a call like call(f, 1, f, 2, 3), which would first call the rightmost f with 2 and 3
to get 5 and then would send 1 and the resulting 5 to the first f to get 6.
Full XML Documentation provides interactive help if your IDE of choice supports it. Also
see full documentation on the project page.