What do the double arrows indicate in the return type of the last function here?
Are they used to indicate two different return values?
If so, how do you kno
Notice that it's returning a function. So chooseStepFunction takes a bool and returns a function. The type signature of the function is (Int)->Int.
chooseStepFunction
bool
(Int)->Int
An arrow indicates a function with the input parameter on the left side and the output on the right.