Exercise 2: Using the “Let” Keyword in F#
Strictly speaking, functional languages like F# do not have variables. Instead, values are said to be bound to identifiers so that they may be referenced elsewhere in the program. Accordingly, the F# “let” keyword allows you to assign any expression to an identifier.
In this exercise you learn how to use the let keyword to bind values to identifiers.
Task 1 – Using the Let Keyword to Bind a Value to an Identifier
Task 2 – Working with tuples and identifiers
In this task you will learn how tuples can be composed of identifiers that have been bound to values and separated into individual values which can also be in turn bound to identifiers.