Changeset 5499 in project


Ignore:
Timestamp:
08/18/07 03:10:02 (13 years ago)
Author:
svnwiki
Message:

Changes applied for Jon Strait (216.19.179.189) through svnwiki:

Fixed an incomplete sentence.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/Extensions to the standard

    r5396 r5499  
    3232* Next, variables in optional-formal-arguments are bound to any remaining actual arguments. If there are fewer remaining actual arguments than optional-formal-arguments, then variables are bound to the result of the evaluation of initializer if one was specified or otherwise to {{#f}}. The initializer is evaluated in an environment in which all previous formal arguments have been bound.
    3333* If there is a rest-formal-argument, then it is bound to a list of all remaining actual arguments. The remaining actual arguments are also eligible to be bound to keyword-formal-arguments. If there is no rest-formal-argument and there are no keywords, the it shall be an error if there are any remaining actual arguments.
    34 * If {{#!key}} was specified in the formal-argument-list, there shall be an even number of remaining actual arguments. These are interpreted as a series of pairs, where the first member of each pair is a keyword specifying the argument name, and th corresponding value. It shall be an error if the first member of a pair is not a keyword. It shall be an error if the argument name is not the same as a variable in a keyword-formal-argument, unless there is a rest-formal-argument. If the same argument name occurs more than once in the list of actual arguments, then the first value is used. If there is no actual argument for a particular keyword-formal-argument, then the variable is bound to the result of evaluating initializer if one was specified or {{#f}}. The initializer is evaluated in an environment in which all previous formal arguments have been bound.
     34* If {{#!key}} was specified in the formal-argument-list, there shall be an even number of remaining actual arguments. These are interpreted as a series of pairs, where the first member of each pair is a keyword specifying the argument name, and the second member is the corresponding value. It shall be an error if the first member of a pair is not a keyword. It shall be an error if the argument name is not the same as a variable in a keyword-formal-argument, unless there is a rest-formal-argument. If the same argument name occurs more than once in the list of actual arguments, then the first value is used. If there is no actual argument for a particular keyword-formal-argument, then the variable is bound to the result of evaluating initializer if one was specified or {{#f}}. The initializer is evaluated in an environment in which all previous formal arguments have been bound.
    3535
    3636It shall be an error for an {{<ident>}} to appear more than once in a formal-argument-list.
Note: See TracChangeset for help on using the changeset viewer.