Search code examples
c#.netfunctional-programming

Is there a Functional Programming library for .NET?


For example, in Java there is Functional Java and Higher-Order Java. Both essentially give a small API for manipulating higher-order, curried functions, and perhaps a few new data types (tuples, immutable lists).


Solution

  • have you looked into F#?

    Also a neat blog post would be here that talks about how to use the new generic / lambda expressions built into c# 3.0.

    If you just add using System.Linq to the top of your source file there are a LOT of nice new functions added to working with collections such as folding / filtering / etc.