/Whetstone

Toolbox of functional extension methods and other useful tools for sharpening your .NET code

Primary LanguageC#

Whetstone

AppVeyor Coveralls NuGet License

Toolbox of functional extension methods and other useful tools for sharpening your .NET code

Example

Using the Map() extension method

var number = "12"
    .Map(int.Parse)
    .Map(x => x * 2);   // number is an int and has a value of 24

Motivation

After watching Functional Programming with C# by Dave Fancher on Pluralsight, I was inspired to create my own library using the concepts I learned. I've added a few things that I feel can come in handy quite often.

Installing

This project is available as a NuGet package, so in Visual Studio you can just run Install-Package Whetstone in the Package Manager Console, as well as right-clicking in the Solution Explorer and selecting 'Manage NuGet Packages...' then searching for 'Whetstone'.

API Reference

coming soon

Contributing

Fork it. Fix or improve it. Submit a pull request.

License

MIT: http://vsisk.mit-license.org/