Exercise 3: FunctionsBecause F# views functions as being simply another type of data, the language provides a great deal of flexibility in how you work with functions. In this exercise you’ll continue to work with the F# interactive console to become familiar with the way F# handles functions. Task 1 – Binding Functions to IdentifiersIn this task you will see how functions are values by binding them to identifiers.
Task 2 – Binding Functions with Multiple ParametersIn this task you will examine how F# handles functions with multiple parameters.
Task 3 – Working with partially-applied functionsBecause of the way functions are defined in F#, F# lends itself naturally to the usage of “partially-applied” functions (also known as “curried” functions).
Next Step |
DownloadsDownload The Offline Training Kit Contents |