[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Naming Method Functions
- To: gregor.pa@Xerox.COM
- Subject: Naming Method Functions
- From: Jim Kempf <kempf%hplabsc@hplabs.HP.COM>
- Date: Sun, 15 Feb 87 12:14:28 pst
- Cc: commonloops.pa@Xerox.COM
Since the naming of LAMBDA's is likely to be implementation dependent,
I wonder if the code in EXPAND-DEFMETH-INTERNAL in class-prot.l could
be modified to take an implementation dependent DECLARE specification.
I've modified mine to look like this:
(defvar *method-name-declaration*
#-HP 'method-function-name
#+HP 'extn:name
)
(defmeth expand-defmeth-internal
..... internals, down to where a LAMBDA is generated ...
#'(lambda ,merged-args
,@documentation
(declare
(,*method-name-declaration* ,method-name)
)
.....
)
This would allow each CL implementation to add their way of naming
methods.
Jim Kempf kempf@hplabs.hp.com