[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DEFMACRO and DEFUN&



From:     GSB@MIT-ML
Date: Fri, 29 Nov 80 00:32:05 GMT
Original-Date: 11/28/80 20:32:05 EDT
Subject: Re: defmacro
    produces (PROGN 'COMPILE FLUSH-MACROMEMOS (|forget-macromemos/|| '...) ...)
The bug (not corrected in DEFMACRO 137) was that it should have produced 
(PROGN 'COMPILE (DEFPROP FLUSH-MACROMEMOS ((LISP) DEFMAX) AUTOLOAD) 
	(|forget-macromemos/|| '...) 
	...)
So that lisps prior to 2056 won't get too confused as where this new fun lives.
Also my prior note
    Date: 29 November 1980 00:36-EST
    From: Jon L White <JONL at MIT-MC>
    Subject: VECTOR-S-IFY
	Date: 28 November 1980 15:29-EST
	From: Richard L. Bryan <RLB at MIT-MC>
	(defun foo (&restv x) x)
	(foo 1)
	;VECTOR-S-IFY UNDEFINED FUNCTION OBJECT
    Since true stack-allocated vectors were never put into MacLISP, this
    name is an anachronism, so in DEFMAC 137  it will just do TO-VECTOR.
is buggy -- it will not call TO-VECTOR, but rather some weird internal fun.
(This now works in version 137).