F# - Passing functions as a parameter to another function