Functions in F#
Functions are central in F#. We’ll learn about functions with a few different examples.
To run the program, save it as functions.fs
and use the F# compiler:
There are several other features to F# functions. One is pattern matching, which we’ll look at next.