Is there any way to specify a slot-option for a struct slot without having to give it a default value? This can be of benefit e.g. when defining a base structure from which other structures would inherit, specifying the :type
s or :read-only
without giving an initial value would look nicer i think.
The following structure definition leads to an error since the initial value is missing:
(defstruct s
(x :type number :read-only t)
)