[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using an SRFI that is not available in Guile
From: |
Attila Lendvai |
Subject: |
Re: using an SRFI that is not available in Guile |
Date: |
Fri, 21 Jan 2022 13:59:10 +0000 |
> How about using ‘*unspecified*’ in those cases?
hrm, that looks interesting, thanks! i'll try using that first. it's
Guile-specific, but then most of the rest of Guix is...
> Out of curiosity, in what case do you need to represent “unset fields”?
i think an example works better here: consider Swarm, a p2p storage
solution. its node implementation is called Bee. bees can join
swarms. there are some well-known swarms: 'testnet' and 'mainnet'.
when someone specifies the swarm field as a symbol naming one of the
well-known swarms, then some other mandatory fields should default to
the appropriate values derived from it, *and* the service should warn
if those fields are also set by the user.
and when one is joining a custom swarm, as per giving a string name in
the swarm field, then the service should warn when these mandatory
fields are not explicitly specified.
--
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“We read the world wrong and say that it deceives us.”
— Rabindranath Thakur, aka Tagore (1861–1941)
- Re: using an SRFI that is not available in Guile, (continued)
- Re: using an SRFI that is not available in Guile, Maxime Devos, 2022/01/13
- Re: using an SRFI that is not available in Guile, Attila Lendvai, 2022/01/13
- Re: using an SRFI that is not available in Guile, Attila Lendvai, 2022/01/13
- Re: using an SRFI that is not available in Guile, Maxime Devos, 2022/01/14
- Re: using an SRFI that is not available in Guile, Attila Lendvai, 2022/01/17
- Re: using an SRFI that is not available in Guile, Maxime Devos, 2022/01/13
- Re: using an SRFI that is not available in Guile, Maxime Devos, 2022/01/13
Re: using an SRFI that is not available in Guile, Ludovic Courtès, 2022/01/18