LispWorks User Guide and Reference Manual > 34 The LISPWORKS Package

NextPrevUpTopContentsIndex

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

function is the function whose arguments are required

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 signalled if function is undefined.

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

LispWorks User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex