[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Making every goops object applicable
From: |
Andy Wingo |
Subject: |
Re: Making every goops object applicable |
Date: |
Tue, 15 May 2012 20:36:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
Hi Krister,
On Mon 14 May 2012 19:24, Krister Svanlund <address@hidden> writes:
> In our work to look into how Python 3 could be implemented for Guile
> we have figured out that the only way to make a goops object
> applicable is to have it inherit <applicable-struct>. This does not
> always work the way it could be expected, for example when inheriting
> from several classes.
It should work. It doesn't, as you have found. The reason is that the
meta-object protocol for generic functions was never completely
implemented. When/if someone implements it, the result will be objects
that do have that magical applicable flag set.
Regards,
Andy
--
http://wingolog.org/
Re: Making every goops object applicable, Ludovic Courtès, 2012/05/15
Re: Making every goops object applicable,
Andy Wingo <=