[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#67611: [PATCH] Add a Pcase pattern `cl-lambda` equivalent to `cl-des
From: |
Stefan Monnier |
Subject: |
bug#67611: [PATCH] Add a Pcase pattern `cl-lambda` equivalent to `cl-destructuring-bind` |
Date: |
Thu, 11 Jan 2024 22:04:51 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
>> Thanks for the patch. I can only echo the sentiment already given here,
>> that making `pcase' more complex won't do much for its popularity.
> This sentiment is not unanimous. If pcase is naturally extensible,
> using that ability is not making it more complex. That'd be akin
> to saying "defun" is made more complex because too many functions
> are popping up.
Agreed.
> Just wanted register this position. Though I don't know for sure if
> the patch is simply adding a new extension to pcase or changing
> its core structure.
It's a pure extension. The question is not whether the patch is good or
bad or whether it makes the existing infrastructure too complex.
It's rather where should such a thing live.
I don't think there's a clear enough need for it right now in Emacs core
to motivate its integration in Emacs proper. Also, because several
people have expressed an opinion that leans towards recommending that
Emacs's own code should probably better avoid using this functionality.
I'd be quite happy to include such a think in GNU ELPA, OTOH.
Stefan
- bug#67611: [PATCH] Add a Pcase pattern `cl-lambda` equivalent to `cl-destructuring-bind`, Stefan Kangas, 2024/01/11
- bug#67611: [PATCH] Add a Pcase pattern `cl-lambda` equivalent to `cl-destructuring-bind`, João Távora, 2024/01/11
- bug#67611: [PATCH] Add a Pcase pattern `cl-lambda` equivalent to `cl-destructuring-bind`,
Stefan Monnier <=
- bug#67611: [PATCH] Add a Pcase pattern `cl-lambda` equivalent to `cl-destructuring-bind`, Richard Stallman, 2024/01/13
- bug#67611: [PATCH] Add a Pcase pattern `cl-lambda` equivalent to `cl-destructuring-bind`, João Távora, 2024/01/13
- bug#67611: [PATCH] Add a Pcase pattern `cl-lambda` equivalent to `cl-destructuring-bind`, Richard Stallman, 2024/01/16
- bug#67611: [PATCH] Add a Pcase pattern `cl-lambda` equivalent to `cl-destructuring-bind`, João Távora, 2024/01/17