Next Prev Up Top Contents Index

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 Reference Manual - 25 Jul 2003

Next Prev Up Top Contents Index