GNU bug report logs - #76472
nconc should fail for dotted lists

Previous Next

Package: emacs;

Reported by: Pip Cet <pipcet <at> protonmail.com>

Date: Fri, 21 Feb 2025 14:16:02 UTC

Severity: normal

Done: Pip Cet <pipcet <at> protonmail.com>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 76472-done <at> debbugs.gnu.org (full text, mbox):

From: Pip Cet <pipcet <at> protonmail.com>
To: Mattias EngdegÄrd <mattias.engdegard <at> gmail.com>
Cc: 76472-done <at> debbugs.gnu.org
Subject: Re: bug#76472: nconc should fail for dotted lists
Date: Fri, 21 Feb 2025 18:03:19 +0000
Mattias EngdegÄrd <mattias.engdegard <at> gmail.com> writes:

>> The current behavior is: (nconc '(1 . 2) '(3 4)) => (1 3 4)
>
> Actually that is probably intended and completely fine. It's what
> Common Lisp defines for this operation, and I don't think adding a nil
> check would be an improvement.

Sorry for the noise, closing.

Pip





This bug report was last modified 140 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.