[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#68509: 30.0.50; pcase-dolist matches backquote pattern incorrectly
From: |
Ihor Radchenko |
Subject: |
bug#68509: 30.0.50; pcase-dolist matches backquote pattern incorrectly |
Date: |
Wed, 21 Feb 2024 11:23:17 +0000 |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>> In the current use of those primitives, it's routine/normal/common for
>>> a pattern like `(,a ,b) to encounter lists of different length than 2,
>>> so a warning should be emitted only if specifically requested via an
>>> option/keyword.
>> But isn't it undocumented?
>
> AFAIK the "best" documentation we have for that is the one in
> `pcase-let`, which is indeed unsatisfactory.
May you then describe in more details what is the intended behavior when
PATTERN does not match VALUE in destructuring?
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
- bug#68509: 30.0.50; pcase-dolist matches backquote pattern incorrectly, Ihor Radchenko, 2024/02/19
- bug#68509: 30.0.50; pcase-dolist matches backquote pattern incorrectly, Eli Zaretskii, 2024/02/19
- bug#68509: 30.0.50; pcase-dolist matches backquote pattern incorrectly, Stefan Monnier, 2024/02/19
- bug#68509: 30.0.50; pcase-dolist matches backquote pattern incorrectly, Ihor Radchenko, 2024/02/19
- bug#68509: 30.0.50; pcase-dolist matches backquote pattern incorrectly, Stefan Monnier, 2024/02/19
- bug#68509: 30.0.50; pcase-dolist matches backquote pattern incorrectly, Ihor Radchenko, 2024/02/20
- bug#68509: 30.0.50; pcase-dolist matches backquote pattern incorrectly, Stefan Monnier, 2024/02/20
- bug#68509: 30.0.50; pcase-dolist matches backquote pattern incorrectly, Ihor Radchenko, 2024/02/20
- bug#68509: 30.0.50; pcase-dolist matches backquote pattern incorrectly, Stefan Monnier, 2024/02/20
- bug#68509: 30.0.50; pcase-dolist matches backquote pattern incorrectly,
Ihor Radchenko <=
- bug#68509: 30.0.50; pcase-dolist matches backquote pattern incorrectly, Stefan Monnier, 2024/02/21
- bug#68509: 30.0.50; pcase-dolist matches backquote pattern incorrectly, Ihor Radchenko, 2024/02/23
- bug#68509: 30.0.50; pcase-dolist matches backquote pattern incorrectly, Stefan Monnier, 2024/02/23
- bug#68509: 30.0.50; pcase-dolist matches backquote pattern incorrectly, Ihor Radchenko, 2024/02/24
- bug#68509: 30.0.50; pcase-dolist matches backquote pattern incorrectly, Stefan Monnier, 2024/02/24