Skip to content

Instantly share code, notes, and snippets.

@eschulte
Created December 22, 2011 22:46
Show Gist options
  • Save eschulte/1512191 to your computer and use it in GitHub Desktop.
Save eschulte/1512191 to your computer and use it in GitHub Desktop.
setf not working as expected
(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