You saw in Chapter 1 that pure functional programming treats everything as a value, including functions. Although F# is not a pure functional language, it does encourage you to program in the functional style; that is, it encourages you to use expressions and computations that return a result, rather than statements that result in some side effect. In this chapter, you’ll survey the major language constructs of F# that support the functional programming paradigm and learn how they make it easier to program in the functional style.
KeywordsActive Pattern Pattern Match Union Type Functional Programming Record Type
Unable to display preview. Download preview PDF.