bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#40180: 27.0.90; cl-concatenate returns wrong result


From: Stephen Berman
Subject: bug#40180: 27.0.90; cl-concatenate returns wrong result
Date: Sun, 22 Mar 2020 13:00:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

On Sun, 22 Mar 2020 07:53:31 -0400 Noam Postavsky <npostavs@gmail.com> wrote:

> tags 40180 + patch
> quit
>
> Stephen Berman <stephen.berman@gmx.net> writes:
>
>> Similarly, (cl-concatenate 'vector '[a b c] '[d e f]) returns `[[a b c]
>> [d e f]]' and worse, (cl-concatenate 'string "abc" "def") raises the
>> error: Wrong type argument: characterp, "abc".  This is because
>> cl-concatenate is now defined in terms of seq-concatenate, which is
>> defined by cl-defgeneric, which adds an extra pair of parens around the
>> SEQUENCES argument
>
> I think the problem is just that cl-concatenate should call
> seq-concatenate with apply.

Oh, yes, of course.

Steve Berman





reply via email to

[Prev in Thread] Current Thread [Next in Thread]