Summary: hold a list of objects in the slot of another object?

perhaps what i’m looking to do is simply not possible in EIEIO?

This option is in the CLOS spec, but is not fully compliant in EIEIO.

i realise i could just have the objects in the slot could just be a list of alists or similar, but i would like to model the api cleanly, and also some of the objects it returns lists of have to be classes anyway, as they are used elsewhere in the api on their own, i.e.

i added this to the slot under the :writer keyword, but the EIEIO manual suggests that maybe this isn’t implemented:

‘:writer’ Name of a generic function which will write this slot.

is this possible with EIEIO?

Similar Articles

hold a list of objects in the slot of another object?

Read the complete article at: emacs.stackexchange.com

Add a Comment

Your email address will not be published. Required fields are marked *