[Top][All Lists]

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

Re: Quiet re-imports

From: Jörg F. Wittenberger
Subject: Re: Quiet re-imports
Date: Tue, 30 Mar 2021 20:06:32 +0200

Am Wed, 24 Mar 2021 23:51:13 +0000
schrieb Diego <>:

> I think it would be nice to have a flag/parameter to quiet
> "re-importing already imported identifier/syntax" warnings. These
> seem rather noisy, and in many cases the user is probably aware of
> potential collisions (as in (import r7rs), for example).
> In the attached patch to modules.scm, I've quieted the warnings based
> on the load-verbose flag, but I don't think that's entirely
> appropriate as this warning is more to do with importing than loading
> (for example, you can (import r7rs), then (import scheme), which will
> issue the warnings even though scheme is already loaded).
> Thoughts on any of this?

Hm.  Out of principle I tend to rather spam the user with warnings (at
least by default) and contemplate how to circumvent the issue in the
first place.


reply via email to

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