Re: package frenzy
- From: Brian Downing <see-signature@xxxxxxxxx>
- Date: Tue, 31 May 2005 18:08:19 GMT
In article <2005053015424475249%jorisb@artivubacbe>,
Joris Bleys <jorisb@xxxxxxxxxxxxxx> wrote:
> However, doing so requires the programmer to be realy careful when
> employing packages. I'd like to think that calling internal functions
> should automagically change the *package* to the package it was
> internal in, but I guess there are good reasons, which I don't yet
> fully (and might never :)) understand, for not doing so.
There are. Most importantly, how would you avoid such behavior when you
don't want it? (declare (do-not-automatically-frob-*package*
function-name))? If *package* always changes to the home package of the
called function, it's impossible to implement READ and friends. This
would definitely bug Lisp implementors, who usually implement READ in
Lisp.
-bcd
--
*** Brian Downing <bdowning at lavos dot net>
.
- References:
- Re: package frenzy
- From: Pascal Costanza
- Re: package frenzy
- From: Joris Bleys
- Re: package frenzy
- Prev by Date: Re: Practical Common Lisp going into 2nd printing
- Next by Date: Overlord programs
- Previous by thread: Re: package frenzy
- Next by thread: Re: package frenzy
- Index(es):