This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Trouble understanding define (!)



[Ich brauche gleich ein Beissholz. :)]


> (define draw (merge-generics (module-lookup cards deck draw)
>                             (module-lookup graphics primitives
>                                            draw)))

Eharm.  You don't have to merge two generics.  Just add a module backpointer
to add-method-internal! and you're done.


> What I'd say would be some kind of function that is called for every
> namespace conflic

Yes.  Currently it's a method that belongs to the import-environment. 


Jost


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]