[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How does a gexp relate to a derivation?
From: |
Ludovic Courtès |
Subject: |
Re: How does a gexp relate to a derivation? |
Date: |
Mon, 26 Sep 2022 10:47:40 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) |
Hi,
Ricardo Wurmus <rekado@elephly.net> skribis:
> I recommend the paper on Gexps that walks you through the alternatives
> and motivates the design of Gexps: https://hal.inria.fr/hal-01580582/en
The manual has a few examples to illustrate that:
https://guix.gnu.org/manual/devel/en/html_node/G_002dExpressions.html
As an exercise, try to see how you’d write these examples if you were to
use sexps instead of gexps. This is what Guix did before gexps, and it
was tedious and error-prone (the article above has more about it).
HTH,
Ludo’.