From: ludo@gnu.org (Ludovic Courtès)
To: Amirouche Boubekki <amirouche.boubekki@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: G expressions
Date: Mon, 28 Apr 2014 17:58:58 +0200 [thread overview]
Message-ID: <87mwf5a1j1.fsf@gnu.org> (raw)
In-Reply-To: <CAL7_Mo_avjbr2wGaZQDmThqDy6wFoNEfvi-L2d-oVvfkPmkk8w@mail.gmail.com> (Amirouche Boubekki's message of "Mon, 28 Apr 2014 16:03:50 +0200")
Amirouche Boubekki <amirouche.boubekki@gmail.com> skribis:
> # There’s a recurrent problem that we need to communicate the file name of
> # store items to Scheme code that is going to live in another process:
> # expressions to build a derivation, Scheme files that are to be loaded by
> # other processes, etc.
>
> This seems to be a referential transparency problem. Probably the
> Funarg problem.
>
> Quoting http://en.wikipedia.org/wiki/Funarg_problem:
Hmm I don’t think this has anything to do with it.
> What about the following:
>
> ;; (quote (system* (string-append (coreutils "/bin/ls"))))
>
> I don't understand the difference with classic macro.
Perhaps I didn’t make myself clear. There are two problems to solve
here: first “coreutils” must be replaced by “/gnu/store/...” when that
expression is written to disk, and second we’d like the quoted
expression to hold information about the fact that it refers to the
‘coreutils’ package. Quasiquote doesn’t help with that.
Does that clarify things?
Ludo’.
next prev parent reply other threads:[~2014-04-28 15:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-23 22:23 G expressions Ludovic Courtès
2014-04-28 7:43 ` Ludovic Courtès
2014-04-28 14:03 ` Amirouche Boubekki
2014-04-28 15:58 ` Ludovic Courtès [this message]
2014-04-28 21:45 ` Ludovic Courtès
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=87mwf5a1j1.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=amirouche.boubekki@gmail.com \
--cc=guix-devel@gnu.org \
/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.