Possible Duplicate:
Determining function argument list in Common Lisp
Is there a way in Lisp to determine how many arguments a function takes? What I'm looking for is a function or macro that takes a function and returns the number of arguments it needs.