[Ecls-list] [Suggestion] Caching expansion of type-specifier
Tobias C. Rittweiler
tcr at freebits.de
Sun Nov 29 18:49:35 UTC 2009
Juan Jose Garcia-Ripoll
<juanjose.garciaripoll at googlemail.com> writes:
> How can ECL decide to cache a DEFTYPE form? I mean, the following is
> utterly absurd, but it may well happen:
>
> (deftype foo () (declare (special *foo-expansion*)) *foo-expansion*)
To my knowledge, CLHS does simply not say anything about when or how
often derived types are actually expanded. So the resulting behaviour of
the above snippet is not well-specified.
-T.
More information about the ecl-devel
mailing list