[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: |
Mikael Djurfeldt |
Subject: |
Re: [goops] adding a number class with generic methods |
Date: |
Sun, 7 May 2006 11:37:59 +0200 |
On 5/7/06, Neil Jerram <address@hidden> wrote:
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.
In the current module system, the effect of mentioning a variable in
an export statement is to set up a new, undefined, variable with that
name. This variable is added to the module and to the export list of
the model. The former has the effect of shadowing the old variable =.
- [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, 2006/05/06
- Re: [goops] adding a number class with generic methods,
Mikael Djurfeldt <=
- 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