This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


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

Re: Can we prefix with module names?


Jocelyn Paine <popx@pop3.ifs.org.uk> writes:

> Does Kawa make it possible to prefix the names of things exported
> from modules with the module name? I have several modules in which
> it would be natural, for example, to define an operation called 'get'.
> Rather than replacing each 'get' identifier with a name such as
> 'get-from-map' (which becomes cumbersome if applied consistently
> throughout the module), I'd like just to use the module name for
> disambiguation when calling the function from outside.

My intention was that you should be able to do:

((map 'get) args ...)

But that assumes module "values", which are only partially supported.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/~per/

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