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 ...