Created
January 5, 2022 17:21
-
-
Save bollu/b0b25e3d33a7c10cec72e1ed7bb071af to your computer and use it in GitHub Desktop.
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
;; quoted initarg | |
(defclass foo () | |
((foo-field :initarg foo-initarg :accessor foo-accessor))) | |
(defparameter *foo* (make-instance 'foo 'foo-initarg 10)) | |
;; symbold initarg | |
(defclass bar () | |
((bar-field :initarg :bar-initarg :accessor bar-accessor))) | |
(defparameter *bar* (make-instance 'bar :bar-initarg 10)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment