[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Proposals 2, 3, & 4
- To: common-lisp@SU-AI.ARPA
- Subject: Proposals 2, 3, & 4
- From: Rob MacLachlan <RAM@C.CS.CMU.EDU>
- Date: Mon, 14 Jul 1986 03:58:00 -0000
I am not very happy with proposal #4, FUNCTION-PARAMETER-NAMES. I
have three main objections:
1] There is no way to obtain the names of keyword arguments.
2] There is no way to determine defmacro syntax. The arguments to
the macro function are always the form and environment, which
isn't very useful.
3] Returning the names as symbols has efficiency implications.
Spice Lisp stores argument lists as strings to save space. Since
the actual symbols naming the argument aren't stored, it would be
difficult to return the names as symbols.
I question that there is any legitimate portable use of the function
other than simply obtaining the information so that it can be printed
to the user. It seems that it would be simpler and less restrictive
to have a function DESCRIBE-ARGUMENTS which takes a function and a
stream and prints useful information about how that function may be