all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Attila Lendvai <attila@lendvai.name>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: using an SRFI that is not available in Guile
Date: Fri, 21 Jan 2022 13:59:10 +0000	[thread overview]
Message-ID: <g5Tu3m82fFtEGxcAEVElyT3s5H4jp-quL72OSkeDPP4MTxXwNLB8k2HMa9OHM5O4uKQsJ0ZsWvDGxzePeOdaH-VJ-pa9mooe4U2uRVA71wo=@lendvai.name> (raw)
In-Reply-To: <87o848aua9.fsf@gnu.org>

> 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)



  reply	other threads:[~2022-01-21 14:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-12 16:46 using an SRFI that is not available in Guile Attila Lendvai
2022-01-12 17:01 ` Attila Lendvai
2022-01-12 17:09 ` Maxime Devos
2022-01-13  9:55   ` Attila Lendvai
2022-01-13 10:49     ` Maxime Devos
2022-01-13 18:20       ` Attila Lendvai
2022-01-13 20:48         ` Attila Lendvai
2022-01-14 12:02         ` Maxime Devos
2022-01-17 13:45           ` Attila Lendvai
2022-01-13 10:53     ` Maxime Devos
2022-01-13 10:56       ` Maxime Devos
2022-01-18 15:09 ` Ludovic Courtès
2022-01-18 17:06   ` Attila Lendvai
2022-01-19 10:34     ` Ludovic Courtès
2022-01-21 13:59       ` Attila Lendvai [this message]
2022-01-24 15:41         ` Ludovic Courtès
2022-01-24 23:02           ` Attila Lendvai
2022-02-05 11:13             ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='g5Tu3m82fFtEGxcAEVElyT3s5H4jp-quL72OSkeDPP4MTxXwNLB8k2HMa9OHM5O4uKQsJ0ZsWvDGxzePeOdaH-VJ-pa9mooe4U2uRVA71wo=@lendvai.name' \
    --to=attila@lendvai.name \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.