June 2010
Intermediate to advanced
623 pages
15h 49m
English
F# is effective and productive primarily because it's built on the tried and tested constructs of functional programming. This chapter covers the core building blocks of functional programming with F#, including simple types and function values, pattern matching, lists, options, and sequences; as well as how to declare some of your own simple types. Chapters 4 through 6 cover imperative programming, generics, and object-oriented programming.
We first cover the most common base types of data manipulated in F# code, beginning with the basics of F# arithmetic.
Table 3-1 lists the basic numeric types used in F# code and their ...
Read now
Unlock full access