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


Mikael Djurfeldt <mdj@mdj.nada.kth.se> writes:

> The modules are "graphics" and "cards".  The name being exported is
> "draw".

Yes.  But what if we handle classes as modules?  A GF would be a
module and a class with its data structure would be a module.  Et
voila...


> My impression is that parametric modules are used to re-use code

ML´s parametric modules are just another word for "generics": They
dispatch on their arguments (only one in ML) and produce a concrete
value (the concrete module in this case).


Jost

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