diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-12-28 21:51:20 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-01-10 14:25:59 +0100 |
commit | 97d0055edb9a8b9b59ede254ce8ef1f255558802 (patch) | |
tree | 3b083189e66cc7a5804ee2368e20a027981fbd80 /guix/scripts/discover.scm | |
parent | 3dcc74d3ae605c965a37519524c51a328f0a25e2 (diff) |
style: Improve pretty printer and add tests.
* guix/scripts/style.scm (vhashq): New macro.
(%special-forms): New variable.
(special-form?): New procedure.
(pretty-print-with-comments): Add many clauses and tweak existing
rules.
* tests/style.scm (test-pretty-print): New macro.
<top level>: Add 'test-pretty-print' tests.
Diffstat (limited to 'guix/scripts/discover.scm')
0 files changed, 0 insertions, 0 deletions