Working with functions
applyOne :: (Int -> Int) -> Int applyOne f = f 1 + 1
This function will apply the value 1 to whatever function is passed in as an input and then add 1 to the result.
Note that we couldn't express this function as the composition of other functions. We had to explicitly define how to use its input. What we need is a re-usable operator for function application.