This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Trouble understanding define (!)
- To: Neil Jerram <neil at ossau dot uklinux dot net>
- Subject: Re: Trouble understanding define (!)
- From: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Date: 04 Feb 2000 04:19:42 +0100
- Cc: guile at sourceware dot cygnus dot com, djurfeldt at nada dot kth dot se
- Cc: djurfeldt at nada dot kth dot se
- References: <200001142054.UAA00622@ossau> <p2tzou4o5ov.fsf@pampelmuse.zrz.tu-berlin.de> <200001182250.WAA00624@ossau> <xy7ya9nezzz.fsf@mdj.nada.kth.se> <200001221200.MAA00478@ossau> <xy7bt6e82ru.fsf@mdj.nada.kth.se> <s3zotxrqoz.fsf@verisity.com> <xy7iu0cbc1z.fsf@mdj.nada.kth.se> <s3iu0bq1x5.fsf@verisity.com> <xy71z6z35os.fsf@mdj.nada.kth.se> <s33drfpm9d.fsf@verisity.com> <xy73drec8ap.fsf@mdj.nada.kth.se> <xy7oga1or3w.fsf@mdj.nada.kth.se> <87bt60d72n.fsf@zagadka.ping.de> <xy7puugmx1g.fsf@mdj.nada.kth.se> <87snzbuxfg.fsf@zagadka.ping.de> <s3vh46biwf.fsf@verisity.com> <200002040143.BAA00534@ossau> <xy7aelhd64f.fsf@mdj.nada.kth.se>
Mikael Djurfeldt <mdj@mdj.nada.kth.se> writes:
> With this solution, the renaming problem would go away for accessors,
> since it doesn't matter when one accessor name shadows another on the
> module use-list... :-)
[...]
> OK folks, does this seem OK?
No, it isn't...sigh. I should have thought before spamming you again.
I'm just using a current flaw in the module system: that errors aren't
reported for name collisions.
It's actually an ugly design to use a GF from one module to access a
class from another, utilizing the knowledge that the accessor in the
first module is identical to the one in the second, by a side-effect.
:(