GNU bug report logs - #54293
[WIP] home: Add home-git-service-type

Previous Next

Package: guix-patches;

Reported by: 宋文武 <iyzsong <at> outlook.com>

Date: Mon, 7 Mar 2022 15:12:02 UTC

Severity: normal

Full log


Message #74 received at 54293 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: iyzsong <at> outlook.com, 宋文武 <iyzsong <at> member.fsf.org>,
 54293 <at> debbugs.gnu.org
Subject: Re: bug#54293: [WIP] home: Add home-git-service-type
Date: Tue, 29 Mar 2022 15:56:25 +0200
Maxime Devos <maximedevos <at> telenet.be> skribis:

> iyzsong <at> outlook.com schreef op za 12-03-2022 om 10:22 [+0800]:
>> + (user.name
>> +   (git-option-value *unspecified*))
>
> I think *unspecified* is considered an implementation detail.

Yes, but it may be useful to be able to distinguish between “not
specified” and “false”.

To do that you can either use ‘*unspecified*’ or some other unique
value that you’d compare with ‘eq?’, say:

  (define &not-specified (list 'not 'specified))
  (define (specified? value)
    (not (eq? value &not-specified)))

But really, ‘*unspecified*’ is okay IMO.

Ludo’.




This bug report was last modified 3 years and 24 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.