all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: use-modules in gexps
Date: Fri, 07 Feb 2020 22:31:36 +0100	[thread overview]
Message-ID: <87lfpe13uv.fsf@gnu.org> (raw)
In-Reply-To: <87d0atqczv.fsf@elephly.net> (Ricardo Wurmus's message of "Wed, 05 Feb 2020 16:18:12 +0100")

Hi,

Ricardo Wurmus <rekado@elephly.net> 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	other threads:[~2020-02-07 21:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-02 20:27 use-modules in gexps Ricardo Wurmus
2020-02-05 14:19 ` Ludovic Courtès
2020-02-05 15:18   ` Ricardo Wurmus
2020-02-07 21:31     ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lfpe13uv.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.