|
| From: | Dmitry Gutov |
| Subject: | Re: Instead of pcase |
| Date: | Fri, 24 Nov 2023 19:14:19 +0200 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 23/11/2023 04:57, Richard Stallman wrote:
> This is the requirement: in some situations a code path should only be > chosen when a certain structure is present and certain requirements for > certain parts of the structure are fulfilled. When you separate these > two things artificially you will make the thing more complicated, you > need to introduce extra bindings (for the tests) that the BODY doesn't > use, resulting in poorly readable code. Would you be willing to show me two or thhree examples of this, so I cam make sure those are natural enough in the framework I'm designing?
I suggest you try rewriting the definition of completion-help-at-point using your alternative construct.
We just discussed what the pcase clauses there do, and they are small enough so this won't be a lot of work, while at the same time they exhibit several of the important features of pcase.
| [Prev in Thread] | Current Thread | [Next in Thread] |