Subject: Re: bug#54293: [WIP] home: Add home-git-service-type

From: Ludovic Courtès <[email-masked]>
Date: Tue, 29 Mar 2022 15:56:25 +0200

Maxime Devos <[email-masked]> skribis:

> [email-masked] 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’.