[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re2: MCL support for MOP
- To: brent@ssd.csd.harris.com
- Subject: Re2: MCL support for MOP
- From: hall@allegra.att.com (Bob Hall)
- Date: Mon, 11 Jan 93 16:55:56 EST
- Cc: info-mcl@cambridge.apple.com
- In-reply-to: Brent Benson's message of 11 Jan 93 15:32:00 GMT <BRENT.93Jan11103200@rcx1.ssd.csd.harris.com>
From: brent@ssd.csd.harris.com (Brent Benson)
Date: 11 Jan 93 15:32:00 GMT
I'm not convinced that it is hard to tree shake code that does not
contain calls to eval. I would appreciate it if someone could tell me
about other difficulties.
;There's the general problem of calls to the various forms of READ
; (lots of data files in the world are LOADed (involving calls to READ))
;and higher-order operators like funcall
;and the behavior of fboundp
(funcall (read) (read))
;or
(loop ;the proverbial British Museum Monkeys program
(let ((rand (intern (generate-random-string))))
(when (symbol-function rand)
(when (catch-and-ignore-all-errors
(funcall rand))
(format t "Found a nonNIL zero-arg function: ~s" rand)))))
;How about this macro?
(defmacro mycall (x y) `(,x ,y))
;Or even
(fboundp 'nreconc) ;which presumably returns a different value if nreconc
;is "shaken" out of the image.
(fboundp (read))
-- Bob