From: Guillaume Le Vaillant <glv@posteo.net>
To: bil@ccrma.Stanford.EDU
Cc: Pierre Neidhardt <mail@ambrevar.xyz>, jgart <jgart@dismail.de>,
51903@debbugs.gnu.org
Subject: [bug#51903] cmn license etc
Date: Sun, 21 Nov 2021 17:54:30 +0000 [thread overview]
Message-ID: <87wnl19yjk.fsf@kitej> (raw)
In-Reply-To: <1894d511fa3d23b2d7df2637074452d8@ccrma.stanford.edu>
[-- Attachment #1: Type: text/plain, Size: 851 bytes --]
bil@ccrma.Stanford.EDU skribis:
> Please do not repair code you don't understand. First,
> sbcl issues a warning, not an error. The warning is
> asinine -- find (in the original form) returns a list;
> I check whether it is nil before setting a portion of it.
> If you change the find statement to add :key #'car, you've
> changed it from memq to assq (in Scheme nomenclature) --
> these are not the same thing. Your test of running
> (cmn treble c4 q) did not hit the code in question, so
> it tested nothing. All you've done is add a bug to
> my code.
If you take a look at the Common Lisp spec [1], you'll see that 'find'
returns an element, not a list. The function returning a list is
'member' [2].
[1] http://www.lispworks.com/documentation/HyperSpec/Body/f_find_.htm
[2] http://www.lispworks.com/documentation/HyperSpec/Body/f_mem_m.htm
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
next prev parent reply other threads:[~2021-11-21 18:04 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-17 1:52 [bug#51903] [PATCH] gnu: Add cl-cmn jgart via Guix-patches via
2021-11-17 7:49 ` Pierre Neidhardt
2021-11-17 8:50 ` jgart via Guix-patches via
2021-11-17 9:24 ` Pierre Neidhardt
2021-11-17 8:55 ` [bug#51903] [PATCH v2] " jgart via Guix-patches via
2021-11-17 10:39 ` [bug#51903] cmn license etc bil
2021-11-21 12:51 ` Guillaume Le Vaillant
2021-11-21 14:16 ` bil
2021-11-21 16:20 ` Guillaume Le Vaillant
2021-11-21 17:45 ` bil
2021-11-21 17:54 ` Guillaume Le Vaillant [this message]
2021-11-21 19:22 ` bil
2021-11-22 0:30 ` jgart via Guix-patches via
2021-11-22 10:10 ` Guillaume Le Vaillant
2021-11-22 14:13 ` bil
2021-11-22 18:35 ` [bug#51903] [PATCH v3] gnu: Add cl-cmn jgart via Guix-patches via
2021-11-22 19:45 ` bug#51903: " Guillaume Le Vaillant
2021-11-22 20:11 ` [bug#51903] " jgart via Guix-patches via
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=87wnl19yjk.fsf@kitej \
--to=glv@posteo.net \
--cc=51903@debbugs.gnu.org \
--cc=bil@ccrma.Stanford.EDU \
--cc=jgart@dismail.de \
--cc=mail@ambrevar.xyz \
/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.