|
|
Optional parameters of Scheme functions (2) |
|
Keyword parameters is a good alternative to optional parameter lists in case many, 'unordered' parameters need to passed to a function | We have demonstrated how we simulate optional parameter via the 'rest parameter list' mechanism in Scheme.
It is also possible to simulate a keyword parameter mechanism. In a LAML context, this is done
with respect to the passing of attributes to the HTML mirror functions. |