https://puresourcecode.com/dotnet/fsharp/using-functions-as-values-in-f/
Using functions as values in F#