diff options
author | Maxime Devos <maximedevos@telenet.be> | 2021-06-28 19:24:44 +0200 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2021-06-30 13:53:00 +0200 |
commit | d9e0ae07db5cb9f949c11f4ee77146a070c2618c (patch) | |
tree | eb4222919d1f19cf852f92ecea58fe4704d9d2a4 /guix/records.scm | |
parent | ebf07a06f0a29eac6b5f115b10fc1eb7574f060c (diff) | |
download | guix-patches-d9e0ae07db5cb9f949c11f4ee77146a070c2618c.tar guix-patches-d9e0ae07db5cb9f949c11f4ee77146a070c2618c.tar.gz |
guix: gexp: Define gexp->approximate-sexp.
It will be used in the 'optional-tests' linter.
* guix/gexp.scm (gexp->approximate-sexp): New procedure.
* tests/gexp.scm
("no references", "unquoted gexp", "unquoted gexp (native)")
("spliced gexp", "unspliced gexp, approximated")
("unquoted gexp, approximated"): Test it.
* doc/gexp.scm ("G-Expressions"): Document it.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'guix/records.scm')
0 files changed, 0 insertions, 0 deletions