This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: Can we prefix with module names?
- To: Jocelyn Paine <popx at pop3 dot ifs dot org dot uk>
- Subject: Re: Can we prefix with module names?
- From: Per Bothner <per at bothner dot com>
- Date: 27 Jan 2001 22:44:56 -0800
- Cc: kawa at sourceware dot cygnus dot com
- References: <Pine.LNX.4.10.10101270954010.20095-100000@pop3.ifs.org.uk>
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/