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

Lisp Test



    Date: Wed, 25 Sep 85 02:59:30 EDT
    From: Tim McNerney <TIM@MIT-MC.ARPA>

	Date: Sun, 22 Sep 85 21:15:09 EDT
	From: George J. Carrette <GJC at MIT-MC.ARPA>

	[4] (flet ((g () 5)) (setf #'g #'(lambda () 7)) (g))
    ...(SETF (FUNCTION ...) ...) does not appear to be
    defined in CLtL.  Perhaps you meant to use SYMBOL-FUNCTION instead.

    Does Common Lisp provide any way to side effect "lexical function cells"
    such as G above?

No.  They are constants.  (More accurately, they take on a new value every
time the FLET is evaluated, but you can't change their value.)