[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Tim McNerney <TIM@MIT-MC.ARPA>
- Subject: Lisp Test
- From: David A. Moon <Moon@SCRC-STONY-BROOK.ARPA>
- Date: Wed, 25 Sep 85 21:39 EDT
- Cc: GJC@MIT-MC.ARPA, Common-Lisp@SU-AI.ARPA
- In-reply-to: <[MIT-MC.ARPA].658760.850925.TIM>
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>
 (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.)
- Lisp Test
- From: Tim McNerney <TIM@MIT-MC.ARPA>