gexp: Allow character literals in GEXP->SEXP.
authorMarius Bakke <mbakke@fastmail.com>
Sun, 15 Dec 2019 20:27:31 +0000 (21:27 +0100)
committerMarius Bakke <mbakke@fastmail.com>
Wed, 18 Dec 2019 21:36:37 +0000 (22:36 +0100)
commitab7010af1f1077c056529769a53a380147c3933f
tree3bd5460ce10b6e0205206a70026e925a8b0ca0c8
parentfe3110ac58364aceff71391b984e8056a6db9395
gexp: Allow character literals in GEXP->SEXP.

Fixes <https://bugs.gnu.org/38628>.

* tests/gexp.scm ("lower-gexp, character literal"): New test.
* guix/gexp.scm (gexp->sexp)[self-quoting?]: Add CHAR? to the tested types.
* guix/repl.scm (self-quoting?): Likewise.
* gnu/tests.scm (marionette-shepherd-service)[self-quoting?]: Likewise.
gnu/tests.scm
guix/gexp.scm
guix/repl.scm
tests/gexp.scm