Created
December 22, 2011 22:46
-
-
Save eschulte/1512191 to your computer and use it in GitHub Desktop.
setf not working as expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun (setf it) (new tree) (setf tree new)) | |
(let ((this :foo)) | |
(setf (it this) :bar) | |
this) ;; => :foo (why does this return :foo and not :bar) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment