Chapter 2. Functional Core with F#
As we have seen, F# is a functional-first language where we create functions and apply them. The result of the evaluation of one of these expressions is a value, and the execution of the program is the evaluation of all the expressions that comprise it.
In this chapter, we will cover the following topics:
- F# types such as primitives, tuples, records, and unions
- Pattern matching
- Equality and comparison
- Reference cells and mutability