Ludovic Courtès 8d9291bd2c
style: For 'let' and similar forms, emit one binding per line.
Previously, 'let' bindings could be rendered like this:

  (let ((x 1) (y 2)
        (z 3))
    ...)

With this change, each bindings goes in its own line.

Partly fixes <https://issues.guix.gnu.org/56297>.
Reported by Maxime Devos <maximedevos@telenet.be>.

* guix/scripts/style.scm (pretty-print-with-comments)[list-of-lists?]:
New procedure.
Use it.
* tests/style.scm: Add tests with 'let' and 'substitute-keyword-arguments'.
2022-07-04 23:38:38 +02:00
..
2022-06-15 10:18:34 +02:00
2022-05-12 12:45:49 -04:00
2022-05-01 21:30:34 +02:00
2022-02-14 11:23:07 +01:00
2022-03-18 16:03:33 +01:00
2022-06-10 23:52:34 -04:00
2022-05-31 14:54:16 -04:00
2021-08-12 12:34:13 +02:00
2022-02-14 11:23:07 +01:00