[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
*MACROARG*
- To: BUG-LISP at MIT-MC, RMS at MIT-MC
- Subject: *MACROARG*
- From: Robert W. Kerns <RWK at MIT-MC>
- Date: Tue, 3 Jul 79 12:43:00 GMT
- Cc: RWK at MIT-MC
- Original-date: 3 July 1979 08:43-EDT
- Sender: ___022 at MIT-MC
How about something like
(DEFUN FOO (BAR BAZ &OPTIONAL BRAP &LENGTH LENGTH)
....)
to access the number of arguments?
Or alternately,
(DEFUN FOO (BAR BAZ &OPTIONAL (BRAP NIL BRAP-P)
...)
would bind BRAP-P to T or NIL according to whether or not the optional arg
was supplied.
Or both. They're not incompatible, and really are more suited for different
cases.
I really don't like the *MACROARG* technique at all.