aboutsummaryrefslogtreecommitdiff
path: root/tests/substitute.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-09-09 22:43:41 +0200
committerLudovic Courtès <ludo@gnu.org>2016-09-09 23:54:43 +0200
commitebdfd776f4504c456d383ee8afa59fc6fdfc6756 (patch)
tree49cdbe2d4e8c2f272984698679993cac7d1c950b /tests/substitute.scm
parentb5fed903c44b27c61935a51ee1b4b866500f53c2 (diff)
downloadpatches-ebdfd776f4504c456d383ee8afa59fc6fdfc6756.tar
patches-ebdfd776f4504c456d383ee8afa59fc6fdfc6756.tar.gz
gexp: Compilers can now provide an "expander".
* guix/gexp.scm (<gexp-compiler>)[expand]: New field. (default-expander, lookup-expander): New procedures. (define-gexp-compiler): Add second pattern to allow for the definition of both a compiler and an expander. (gexp->sexp)[reference->sexp]: Call 'lookup-expander' and use its result.
Diffstat (limited to 'tests/substitute.scm')
0 files changed, 0 insertions, 0 deletions