guile-user
[Top][All Lists]
Advanced

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

Re: Do we have to worry about the names of generic functions?


From: Rob Browning
Subject: Re: Do we have to worry about the names of generic functions?
Date: Thu, 13 May 2004 14:49:10 -0500
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Andreas Rottmann <address@hidden> writes:

> You'd only do the above when you *know* a module imported has
> e.g. "quit". You can't do much about stuff in modules you don't
> import; I wonder what "#:generics merge" does when it encounters a
> procedure and generic that have the same name...

So I suppose it'd be up to the end user to do this when necessary
unless merge handles it somehow.

> That aside, another reason I think prefixes are basically unecessary
> is that the importer can always do something like 
>
> (use-modules ((g-wrap) #:renamer (symbol-prefix-proc 'gw:)))

Good point.  I didn't realize we already had support for that in 1.6.

-- 
Rob Browning
rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592  F9A0 25C8 D377 8C7E 73A4




reply via email to

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