List of Listings
Chapter 1. Introducing functional programming
Listing 1.1. Functional approach: Where and OrderBy don’t affect the original list
Listing 1.2. Nonfunctional approach: List<T>.Sort sorts the list in place
Listing 1.3. Mutating state from concurrent processes yields unpredictable results
Listing 1.4. C# 6 and C# 7 features relevant for FP
Listing 1.5. Declaring a delegate
Listing 1.6. Instantiating and using a delegate
Listing 1.7. Declaring a function inline with a lambda
Listing 1.8. Lambdas have access to variables in the enclosing scope
Listing 1.9. A function can be exhaustively represented with a dictionary
Listing 1.10. Where: a typical HOF that iteratively applies the given predicate
Get Functional Programming in C# now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.