guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 6/6] gnu: Improve error reporting of the use-.*modules macros


From: Chris Marusich
Subject: Re: [PATCH 6/6] gnu: Improve error reporting of the use-.*modules macros.
Date: Fri, 10 Nov 2017 18:02:32 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hi Ludo,

Ludovic Courtès <address@hidden> writes:

> +(define-syntax-rule (try-use-modules hint modules ...)
> +  (eval-when (expand load eval)
> +    (%try-use-modules '(modules ...)
> +                      (source-properties->location
> +                       (current-source-location))
> +                      hint)))
> +

Why is it necessary to use eval-when here?  The Guile manual makes it
sound like eval-when is intended to be used with syntax-case macros, not
syntax-rules macros.

-- 
Chris

Attachment: signature.asc
Description: PGP signature


reply via email to

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