guile-user
[Top][All Lists]
Advanced

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

Re: guile and XML (mixp)


From: Dale P. Smith
Subject: Re: guile and XML (mixp)
Date: Tue, 28 Nov 2006 08:36:37 -0500
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> Hi,
>
> Neil Jerram <address@hidden> writes:
>
>> 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.
>>
>
> I'm not sure extending `define-module' just to solve this specific
> problem is a good idea.  In particular, `use-syntax' itself doesn't seem
> too reasonable (see [0]).  Thus, in the long-term, it may be preferable
> to remove `use-syntax' or replace it with more robust primitives, rather
> than working around it.

I suspect that the sole purpose of use-syntax was to allow the use of
syntax-case macros instead of the non-standard lisp style macros that
are the default.  I don't think it was ever intended to be generally
useful.

Long term, Guile should probably have syntax-case macros available
without having to resort to use-syntax.

   -Dale

-- 
Dale P. Smith





reply via email to

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