guix-devel
[Top][All Lists]
Advanced

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

Re: use-modules in gexps


From: Ludovic Courtès
Subject: Re: use-modules in gexps
Date: Fri, 07 Feb 2020 22:31:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Hi,

Ricardo Wurmus <address@hidden> skribis:

> When I wrote “state” I had the list of modules encountered in mind, so
> that it would be possible to collect all marked instances of
> “use-module” and hoist them to the top, in effect doing automatically
> what is achieved manually by using “with-imported-modules” with a list
> of modules.

I see.  I guess this would be possible only by adding restrictions on
what can go into a gexp: the position of ‘use-modules’ or
‘define-module’ forms in a gexp, the options they are passed, etc.

Ludo’.



reply via email to

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