bug-guile
[Top][All Lists]
Advanced

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

Re: defining `app' breaks modules


From: Christopher Cramer
Subject: Re: defining `app' breaks modules
Date: Fri, 21 Feb 2003 21:09:53 -0600
User-agent: Mutt/1.2.5i

On Fri, Feb 21, 2003 at 09:50:47AM +1000, Kevin Ryde wrote:
> In guile 1.6.3 on a recent i386 debian, I was foolish enough to make a
> define of "app", promptly breaking use-modules.
[example deleted]
> It'd be nice if the module system implementation could protect itself
> against such stray defines.  I guess there's a lot of things in
> boot-9.scm that could be upset, but "app" seems a particularly
> unfortunate one, since it's short and rather natural for some sort of
> application thing.

Yeah, I remember looking at this in boot-9 and thinking it was odd.
It wouldn't be too hard to fix -- outside of boot-9 and possibly modules.c
I don't think anything really touches it. (I know I've written code that
touches it, but I also know I wasn't really supposed to...) Just rename
it to %application or #{\ application}# or something.

-- 
Christopher Cramer <address@hidden> <http://www.pyro.net/~crayc/>
"All you have to do is tell them they are being attacked and denounce the
pacifists for lack of patriotism and exposing the country to danger. It
works the same way in any country." - Hermann Georing, 1946




reply via email to

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