[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EIEIO and CL
From: |
Chong Yidong |
Subject: |
Re: EIEIO and CL |
Date: |
Fri, 09 Oct 2009 16:36:25 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
"Eric M. Ludlam" <address@hidden> writes:
> The defclass operation in EIEIO is a macro that calls out to a helper
> function. This is because I have found that I'm just not that good at
> writing macros. I would guess that if the entirety of eieio-defclass
> were turned into a macro, then the whole eval thing you quoted above
> would become a compile time requirement only.
Yes, that would probably work.
> Alternately, it would be cool if typep, or something similar was a part
> of Emacs core. Wouldn't the widget/custom setup like that?
It's feasible to move typep into core, but deftype involves a layer of
CL-implementation gunk that would need to be cleaned up first; not
feasible for 23.2, I think.