CHAPTER 3

images

Introducing Functional Programming

F#’s effectiveness rests on the tried and tested foundation of functional programming. This chapter covers the core building blocks of functional programming with F#, including simple types and function values, pattern matching, lists and options. Chapters 4 through 6 cover imperative programming, generics, and object-oriented programming, and Chapters 9 and 10 cover many more advanced topics in functional programming with sequences, and structured and numeric data.

Starting with Numbers and Strings

We first cover the most common base types of data manipulated in F# code, beginning with numbers and ...

Get Expert F# 3.0, Third Edition 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.