guile-user
[Top][All Lists]
Advanced

[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 12:45:42 +0100
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

"Mikael Djurfeldt" <address@hidden> writes:

> 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 =.

I see.  Thanks for explaining this.

  Neil





reply via email to

[Prev in Thread] Current Thread [Next in Thread]