Remember that a function is a regular data type. Functions can return functions.
f: => String => Result[AnyContent] => Result
Same as
String => (Result [AnyContent] => Result)
This is just a function from String that returns a function from Result[AnyContent] to Result .
f: => is the name parameter, as Josh explained in the answer above.
source share