5.1 Changes in this release

function-lambda-list

Function

Package:lw

Syntax:function-lambda-list function &optional errorp t
verbose t

Returns the parameters of the function it is called on. function should be either a function or a function name. When function is a function name, and there is no corresponding global function definition for that name,erropdetermines what happens. Iferrorp is non-nil (the default) an error is returned. Iferrorpisnil, the symbol:none is returned. The third argument,verbose determines whether or not to print out a short message whenever the arglist is being extracted for a function that is otherwise traced, monitored, or haddefadvice called on it. This function provides a common name between the Harlequin Lisp products for what Lucid historically calledarglist.

Examples:

(function-lambda-list 'memq) =>
(LIQUID::X LIQUID::L)

(pprint (function-lambda-list 'REMOVE-ADVICE)) => (ADVISED-FN &OPTIONAL ADVICE-NAME &KEY (VERBOSE T) &AUX (FN-NAME (UNDERLYING-NAME ADVISED-FN)) OLD-DATA) (function-lambda-list 'floating-point-overflow) => >>Error: FUNCTION-LAMBDA-LIST: FLOATING-POINT-OVERFLOW does not have a global function definition. ARGLIST Required arg 0 (FN): FLOATING-POINT-OVERFLOW (function-lambda-list 'floating-point-overflow nil) => :NONE


Liquid Common Lisp 5.0 Release and Installation Notes - 9 JUN 1997

Generated with Harlequin WebMaker