[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exported slot-accessor conflicts

From: Andreas Rottmann
Subject: Re: exported slot-accessor conflicts
Date: Tue, 23 Mar 2004 19:38:43 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

Maarten Grachten <address@hidden> writes:

> Hi guile people,
> I have the following problem: In one module I define a class c1 with a
> slot-accessor x (and export the class and the accessor) and in another
> module I define a class c2 with a slot accessor x (and export the class
> and the accessor). Now when I first load the c1 module and then the c2
> module, I can't access the x slot of object of class c1.
> Is there any solution for this (besides renaming the accessors to
> have different names)?
I think Guile 1.7 has support for merging generics (something like
"#:generics merge" as module option , IIRC). I'm not sure about 1.6,

Andreas Rottmann         | address@hidden      | address@hidden | address@hidden      | GnuPG Key:
Fingerprint              | DFB4 4EB4 78A4 5EEE 6219  F228 F92F CFC5 01FD 5B62

It's *GNU*/Linux dammit!

reply via email to

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