[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#64537: mix lists and vectors when using backquote
From: |
Stefan Monnier |
Subject: |
bug#64537: mix lists and vectors when using backquote |
Date: |
Fri, 22 Sep 2023 11:03:31 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
>> The docstring of ‘backquote’ says “vectors work just like lists”.
>> Should we also clarify that mixing lists and vectors these 2 way:
>>
>> `(... ,@[...]) ; by contrast: `(,@[] 1) => (1)
>> `[,@'()] ; by contrast: `[1 ,@'()] => [1]
>>
>> will lead to unexpected behavior? Or suggest not doing so? Or let
>> ‘backquote’ detect this and signal an error?
>
> Copying in Stefan Monnier.
Is there a good reason why we have those unexpected behaviors?
Stefan