From: "Ludovic Courtès" <ludo@gnu.org>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: 41140@debbugs.gnu.org
Subject: bug#41140: “guix system” suggests wrong module import when using “remove”
Date: Mon, 11 May 2020 22:23:55 +0200 [thread overview]
Message-ID: <87h7wmfcf8.fsf@gnu.org> (raw)
In-Reply-To: <87lfm22il6.fsf@elephly.net> (Ricardo Wurmus's message of "Sat, 09 May 2020 00:00:05 +0200")
Ricardo Wurmus <rekado@elephly.net> skribis:
> But now I’m curious and I look at the documentation for “remove” from
> (rnrs lists):
>
> -- Scheme Procedure: remp proc list
> -- Scheme Procedure: remove obj list
> -- Scheme Procedure: remv obj list
> -- Scheme Procedure: remq obj list
> ‘remove’, ‘remv’, and ‘remq’ are identical to the ‘delete’, ‘delv’,
> and ‘delq’ procedures provided by Guile’s core library, (*note List
> Modification::). ‘remp’ is identical to the alternate ‘remove’
> procedure provided by SRFI-1; *Note SRFI-1 Deleting::.
>
> Oh.
Bah, R6 is terrible in that respect.
> So here are my questions:
>
> * can we prefer (srfi srfi-1) over (rnrs lists) in the suggestions for “remove”?
I don’t think we should do that. However, listing all the
possibilities, as Danny suggests, would be nice.
> * can we avoid this by extending modify-services to support “delete”
> much like modify-phases, and suggesting to use that instead of
> “remove”?
That’s the better option!
Ludo’.
prev parent reply other threads:[~2020-05-11 20:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-08 22:00 bug#41140: “guix system” suggests wrong module import when using “remove” Ricardo Wurmus
2020-05-09 7:30 ` Danny Milosavljevic
2020-05-10 21:33 ` Ricardo Wurmus
2020-05-11 20:22 ` Ludovic Courtès
2021-04-12 16:21 ` Ricardo Wurmus
2020-05-11 20:23 ` 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=87h7wmfcf8.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=41140@debbugs.gnu.org \
--cc=rekado@elephly.net \
/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).