Expanding a Multiple Parameter List
In the following lesson, we will expand a multiple parameter list to see how a function with a multiple parameter list is executed.
General Form
The general form of a function with multiple parameter lists is as follows:
In the illustration above, n
>1.
The above function is equivalent to the following:
The function f
is taking the first n-1
lists of parameters and creating a new function h
which takes the n
th list of parameters. h
then maps the n
th ...