A cute little experiment is attached. May require a full recompile.
(other) Python objects, anyone?
(defstruct (test (:type hash-table)) a b c)
(let ((x (make-test :a 1 :b 2 :c 3)))
(maphash (lambda (k v)
(print (list k v)))
I do not intend to polish this patch, but it seems like a logical
P.S. These fixmes in defstruct.lisp look fairly simple.
;; FIXME: The arguments in the next two DEFUNs should
;; be gensyms. (Otherwise e.g. if NEW-VALUE happened to
;; be the name of a special variable, things could get
;; FIXME: deprecated 2002-10-16, and since it's only interactive
;; hackery instead of a supported feature, can probably be deleted
;; in early 2003