[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [goops] adding a number class with generic methods
From: |
Neil Jerram |
Subject: |
Re: [goops] adding a number class with generic methods |
Date: |
Sun, 07 May 2006 00:07:25 +0100 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
"Mikael Djurfeldt" <address@hidden> writes:
> On 5/4/06, Marco Maggi <address@hidden> wrote:
>>
>> Yes, with the following and no EXPORT invocation
>> it works.
>
> Actually, logically this *is* how the code should be structured. If
> you had created a novel generic function within your module, that
> function should have been exported. But what you really want is just
> to add methods to the pre-existing generic function = which you
> (implicitly) *import* into your module.
I agree that this explains why the export is not necessary (and hence
why it works without it). But I don't yet understand why adding the
export messes things up.
Regards,
Neil
- [goops] adding a number class with generic methods, Marco Maggi, 2006/05/02
- Re: [goops] adding a number class with generic methods, Marco Maggi, 2006/05/03
- Re: [goops] adding a number class with generic methods, Marco Maggi, 2006/05/04
- Re: [goops] adding a number class with generic methods, Mikael Djurfeldt, 2006/05/04
- Re: [goops] adding a number class with generic methods,
Neil Jerram <=
- Re: [goops] adding a number class with generic methods, Mikael Djurfeldt, 2006/05/07
- Re: [goops] adding a number class with generic methods, Neil Jerram, 2006/05/07
- Re: [goops] adding a number class with generic methods, Ludovic Courtès, 2006/05/09
- Re: [goops] adding a number class with generic methods, Mikael Djurfeldt, 2006/05/09
- GOOPS and Code Complexity, Ludovic Courtès, 2006/05/09