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 (!)


Clark McGrew <mcgrew@ale.physics.sunysb.edu> writes:

> >>>>> "Mikael" == Mikael Djurfeldt <mdj@mdj.nada.kth.se> writes:
> 
>     Mikael> * importing generics from another module (should one
>     Mikael> binding of a generic shadow another with the same name, or
>     Mikael> should the module system create a new generic function,
>     Mikael> containing a union of the methods; I actually begin to
>     Mikael> favor the latter alternative)
> 
> An emphatic yes please for the latter...  Otherwise it's going to be
> hard and have common generics like "print" work as expected when
> several different modules of classes are imported.

Hmm... otherwise, one can of course regard one of the modules as
having the "main" reposibility for `print'.  E.g., `print' is really
`display' or `write' in the R5RS module (currently, the root module
(guile)).  Anyone using this module, won't have problems if the user
of `display' uses the same module (it is of course also OK to export
it from your module, as long as you don't create `display' by
yourself).

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