Created
August 7, 2017 01:55
-
-
Save z3t0/8587009f584d929db4c1ac82a7a7b179 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
(defparameter *test-db* nil) | |
(push (list :name "Bob") *test-db*) | |
(print *test-db*) | |
;; ((:NAME "Bob")) | |
(getf (first *test-db*) :bots) | |
;; returns nil (as expected) | |
(setf (getf (first *test-db*) :bots) '(1)) | |
;; returns (1) (as expected) | |
(setf (getf (first *test-db*) :bots) nil) | |
;; also returns nil as expected |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment