From: "Ludovic Courtès" <ludo@gnu.org>
To: Lars-Dominik Braun <ldb@leibniz-psychology.org>
Cc: 43699-done@debbugs.gnu.org
Subject: [bug#43699] [PATCH] guix: Fix argument order of fxbit-set?
Date: Wed, 30 Sep 2020 11:34:44 +0200 [thread overview]
Message-ID: <87pn631ubv.fsf@gnu.org> (raw)
In-Reply-To: <20200930063051.GA3058@zpidnp36> (Lars-Dominik Braun's message of "Wed, 30 Sep 2020 08:30:51 +0200")
Hi,
Lars-Dominik Braun <ldb@leibniz-psychology.org> skribis:
>> The root problem is that the ‘fxbit-set?’ alias defined at the top of
>> openpgp.scm had the arguments swapped compared to ‘bit-set?’. So I
>> changed that alias instead of changing its users (‘fxbit-set?’ is
>> defined in R6RS).
> oh, okay. I looked at SRFI 143 which also has a fxbit-set? with the same
> argument order as bit-set?, so I thought the alias was mimicking that API. But
> this works too I guess.
Oh, didn’t know about that SRFI; that’s the beauty of Scheme: 10
“standard” interfaces for the same thing. :-)
This OpenPGP code originates from R6RS (Göran Weinholt’s Industria
library and related code) so I think that was right.
Thanks,
Ludo’.
prev parent reply other threads:[~2020-09-30 9:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-29 8:29 [bug#43699] [PATCH] guix: Fix argument order of fxbit-set? Lars-Dominik Braun
2020-09-29 20:56 ` bug#43699: " Ludovic Courtès
2020-09-30 6:30 ` [bug#43699] " Lars-Dominik Braun
2020-09-30 9:34 ` Ludovic Courtès [this message]
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pn631ubv.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=43699-done@debbugs.gnu.org \
--cc=ldb@leibniz-psychology.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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).