summary refs log tree commit diff
path: root/nix/libutil
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-01-09 17:04:55 +0100
committerLudovic Courtès <ludo@gnu.org>2023-01-09 17:40:54 +0100
commit6c343d0d0f6b8560e9eb594ce1d4f984753a35fb (patch)
tree380e8d3e757ddd28c8e0213ff94a68931227ffb4 /nix/libutil
parent407175a1d0e29f45639e7f28a531b3981cd20085 (diff)
downloadguix-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 'nix/libutil')
0 files changed, 0 insertions, 0 deletions