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




reply via email to

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