Part 2. Fundamental functional techniques

At the beginning of this book, we said functional programming is built on top of very different foundations than those you were used to. After reading part 1, you should have an idea of how to build programs using principles like immutability and recursion. We’ve also seen basic types such as tuples and lists and used them to write our first larger functional application. Now that you know how functional concepts fit together, we can take a more systematic look at the basic building blocks that F# and other functional languages provide.

In F# you often start by experimenting using only basic functional features. This way, you can quickly get to code that works and try various approaches before choosing ...

Get Real-World Functional Programming 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.