diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2023-09-24 02:00:00 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2023-09-24 02:00:00 +0200 |
commit | 974b04ab8063382f3a91b0cf5e46bac6e0238672 (patch) | |
tree | e54d70a709e8a8410f2359bf7461149d16676d22 /gnu | |
parent | 2bae0081f9bb5a73798a2cd9f655debf54b44872 (diff) | |
download | guix-974b04ab8063382f3a91b0cf5e46bac6e0238672.tar.gz |
read-print: Be more mindful of horizontal space in packages.
Perhaps due to their staged nature, packages tend to be ‘lopsided’: deeply nested, with the most elaborate code on the {build,right-hand-,in}side, in snippets and phases. When we indent outer forms too eagerly, we can easily run short on columns by the time we get to the build code, reducing readability. A few strategically-placed newlines early on can make a big difference. * guix/read-print.scm (%newline-forms): Add a newline after opening a <package> source field or an argument list. Compensate by removing the base32 special case, which is now unnecessary.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions