bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#63082: [PATCH v3 04/16] services: mpd: Rename %set-user-group to set


From: Bruno Victal
Subject: bug#63082: [PATCH v3 04/16] services: mpd: Rename %set-user-group to set-user-group.
Date: Wed, 24 May 2023 17:09:02 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1

On 2023-05-05 19:28, Maxim Cournoyer wrote:
> The convention to use % as a prefix is for "special" variables rather than
> procedures.
> 
> * gnu/services/audio.scm ((%set-user-group): Rename to...
> (set-user-group): ... this.
> ---
>  gnu/services/audio.scm | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Though that's what is stated in
<http://community.schemewiki.org/?variable-naming-convention>,
there is precedent within guix to prefix “internal” procedures with
% in certain cases like changing the default constructor for the
record-type itself.

Some commits that show this: 22dd558c70901a336de97187f0470be584571158,
2397f4768091210b0a705ef750f2f38d6946fb89.

-- 
Furthermore, I consider that nonfree software must be eradicated.

Cheers,
Bruno.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]