Function | Package: excl | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## arglist

Arguments: function &environment env

Returns two values: if the the argument list of the operator (function, generic function, or macro) specified by the argument is known, it and `t` are returned. If the argument list is not known (that information can be discarded to save space), `nil` and `nil` are returned.

If the env environment argument is supplied and non-`nil`, is must be an environment object as returned by make-compilation-unit-environment or augment-environment. This environment is used to find the current lexical definition of the function in place of the global definition. ]

Note that some argument lists may be uninformative (perhaps simply &rest args) when a function does all argument processing within its body. Also, the compiler may have simplified the argument list for its purposes. This function is designed to assist only. The argument list returned, even when the second returned argument is `t`, may not accurately describe all valid lists of arguments that can be passed to the function. (For example, the `&allow-other-keys` lambda-list keyword is often dropped.)

See also the variable `*save-function-lambda-expression*`, which, when true, tells the compiler to save lambda expressions and make them available to the function function-lambda-expression.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version