diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-03-15 21:45:37 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-03-17 22:25:54 +0100 |
commit | 0dbea56bbf28cd2671289791a10e419478de714c (patch) | |
tree | eef5d926f1ba195d22b9ebcd3173f3d91cf90136 /COPYING | |
parent | e39d1461078837a13d50f48eb2b8dff2bdbd9856 (diff) | |
download | patches-0dbea56bbf28cd2671289791a10e419478de714c.tar patches-0dbea56bbf28cd2671289791a10e419478de714c.tar.gz |
gexp: Export 'gexp-input' constructor.
* guix/gexp.scm (<gexp-input>)[gexp-input]: Rename to...
[%gexp-input]: ... this. Adjust callers accordingly.
(gexp-input): New procedure.
(gexp-inputs)[add-reference-inputs]: When the input is a list, check
whether each item is already 'gexp-input?' and to not rewrap those.
(gexp-outputs)[add-reference-output]: Likewise.
(gexp->sexp): Likewise.
* tests/gexp.scm ("input list splicing + gexp-input +
ungexp-native-splicing"): New test.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions