Hi Neil,
What seems very reasonable, however, would be a way for a module to
discover whether it is being loaded for use-syntax or use-module, so
that it can emit a warning, or even signal an error, if the use is
inappropriate.
Perhaps something like this...
(define-module (ice-9 syncase)
.
Jon Wilson <[EMAIL PROTECTED]> writes:
> Hi Neil,
>> Whoever is doing (use-modules (ice-9 syncase)) needs to do (use-syntax
>> (ice-9 syncase)) instead.
>>
> I see this fairly often. Perhaps there should be some little widget
> in (ice-9 syncase) which says "If you try to use=modules me, you will
Hi Neil,
Whoever is doing (use-modules (ice-9 syncase)) needs to do (use-syntax
(ice-9 syncase)) instead.
I see this fairly often. Perhaps there should be some little widget in
(ice-9 syncase) which says "If you try to use=modules me, you will
actually get use-syntax instead.). Or could an