All Manuals > LispWorks® User Guide and Reference Manual > 38 The LISPWORKS Package

function-lambda-list Function

Summary

Returns the argument list of the given function.

Package

lispworks

Signature

function-lambda-list function &optional error-p => args

Arguments
function
A symbol or a function.
error-p
A boolean.
Values
args
A list, or the symbol :none.
Description

The function function-lambda-list returns the argument list of function.

If error-p is nil, then function-lambda-list returns :none if function is not defined, and does not start the debugger. The default value of error-p is t, meaning that an error is signaled if function is undefined.

Examples
TEST 2 > (function-lambda-list 'editor:create-buffer-command) 
(EDITOR::P &OPTIONAL EDITOR:BUFFER-NAME)

LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:41