Functional Programming in C#
Introduction of functional concepts by using C#
Keywords
-
First class citizen
- Anonymous functions = lambda
- Closure
- Higher order functions
- Recursion
- Fold or handmade LINQ
- Composition
- Partial application / Currying
- Pure
Theory
What is a function?
f: X -> Y
x -> y
C#
-
Func<...> and Action<...>
- Anonymous functions
- Extension functions from System.Linq