Partially applied functions can replace any number of arguments:
Currying is a technique to transform a function with multiple parameters into multiple functions which each take one parameter:
A partially applied function is a function that you do not apply any or all the arguments, creating another function.
A partially applied function is a function that you do not apply any or all the arguments, creating another function. This partially applied function doesn't apply any arguments.
Currying allows you to create specialized versions of generalized functions:
The parameterless execute method has been deprecated and will be removed in a future version of ScalaTest. Please invoke execute with empty parens instead: execute().
The trap method is no longer needed for demos in the REPL, which now abreviates stack traces, and will be removed in a future version of ScalaTest