gexp: Add 'file-append'.
authorLudovic Courtès <ludo@gnu.org>
Fri, 9 Sep 2016 20:46:36 +0000 (22:46 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 9 Sep 2016 21:54:43 +0000 (23:54 +0200)
commita9e5e92f940381e3a4ee828c6d8ff22a73067e17
tree4d50f44926d0c6a41550014d0ecc5e7deb9a0839
parentebdfd776f4504c456d383ee8afa59fc6fdfc6756
gexp: Add 'file-append'.

* guix/gexp.scm (<file-append>): New record type.
(file-append): New procedure.
(file-append-compiler): New gexp compiler.
* tests/gexp.scm ("file-append", "file-append, output")
("file-append, nested", "gexp->file + file-append"): New tests.
* doc/guix.texi (G-Expressions): Use it in 'nscd' and 'list-files'
examples.  Document 'file-append'.
doc/guix.texi
guix/gexp.scm
tests/gexp.scm