[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EIEIO default constructor function
From: |
Stefan Monnier |
Subject: |
Re: EIEIO default constructor function |
Date: |
Sat, 03 Apr 2021 23:10:27 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>> You might also consider using `cl-defstruct`, which
>> doesn't suffer from such problems and is lighter weight.
> I was actually trying that at first, but it turned out I need
> inheritance based dynamic dispatch.
I don't understand: cl-defmethod does inheritance-based dynamic
dispatch for defstructs just as it does for defclasses.
Stefan