diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-04-13 17:56:37 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-04-14 14:48:20 +0200 |
commit | c9cded095593783a957ea500160587252d5cadf6 (patch) | |
tree | b746ae4f0ab22f6a070ccfe07cf886a7f0cd22cd /build-aux/git-version-gen | |
parent | 919cecd00b018d596cf8aca10b370c4d91989be9 (diff) | |
download | guix-c9cded095593783a957ea500160587252d5cadf6.tar.gz |
style: Correctly read dots in pairs and improper lists.
Until now dots were read as symbols. * guix/scripts/style.scm (read-with-comments)[dot]: New variable. [dot?, reverse/dot]: New procedures. Use 'reverse/dot' instead of 'reverse' when reading lists. * tests/style.scm ("read-with-comments: dot notation") ("((a . 1) (b . 2))", "(a b c . boom)"): New tests.
Diffstat (limited to 'build-aux/git-version-gen')
0 files changed, 0 insertions, 0 deletions