Go to the first, previous, next, last section, table of contents.


Class LambdaList

Class LambdaList is used internally by Muq to record the argument declarations for a function (required, optional and keyword parameters with their default values &tc) in a compact for suitable for efficiently processing an argument block at runtime. LambdaList instances are not normally directly visible to, or of interest to, programmers who are not poking around deep in the key of the Muq compilers or runtimes.

Class LambdaList adds the following properties to those of Class Plain:

$S.requiredArgs:  Integer count of required arguments.
$S.optionalArgs:  Integer count of optional arguments.
$S.keywordArgs:   Integer count of keyword arguments.
$S.totalArgs:     Sum of above three.
$S.allowOtherKeywords:  T or NIL.  Currently ignored.

Note: For convenience, the $S properties are also available in the public (default) propdir.

Class LambdaList instances also contain an internal variable-length array describing the various arguments: See section getLambdaSlotProperty, See section setLambdaSlotProperty.

See section makeLambdaList.


Go to the first, previous, next, last section, table of contents.