3 F# Syntax Basics

This chapter covers

  • Understanding core F# syntax
  • Working with type inference in F#

Now that you’ve gained a basic understanding of F# tooling and have spent a little time writing some (admittedly simple) F#, it’s time to learn about the core elements of the F# language. Many of the concepts and elements that you learn in this chapter are what I would call “cross-cutting”—they don’t have specific effects in any one type of application or use case but form the underpinnings of almost everything else in the language. So, it’s important to make sure you learn these concepts thoroughly. The first two, syntax and type inference, will give you an insight into the structure and look and feel of the language, while the second half ...

Get F# in Action 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.