diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-01-09 17:04:55 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-01-09 17:40:54 +0100 |
commit | 6c343d0d0f6b8560e9eb594ce1d4f984753a35fb (patch) | |
tree | 380e8d3e757ddd28c8e0213ff94a68931227ffb4 /etc | |
parent | 407175a1d0e29f45639e7f28a531b3981cd20085 (diff) | |
download | guix-6c343d0d0f6b8560e9eb594ce1d4f984753a35fb.tar guix-6c343d0d0f6b8560e9eb594ce1d4f984753a35fb.tar.gz |
read-print: Do not use extended notation when printing '1+', '1-', etc.
* guix/read-print.scm (%special-non-extended-symbols): New variable.
(symbol->display-string): New procedure.
(pretty-print-with-comments): Use it in lieu of 'string->symbol'.
* tests/read-print.scm: Add test.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions