emacs-devel
[Top][All Lists]
Advanced

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

Re: Replace trivial pcase occurrences in the Emacs sources


From: Dmitry Gutov
Subject: Re: Replace trivial pcase occurrences in the Emacs sources
Date: Wed, 31 Oct 2018 15:41:30 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:64.0) Gecko/20100101 Thunderbird/64.0

On 30.10.2018 22:46, Stefan Monnier wrote:
Couldn't we also say that a pattern with "holes" is a destructuring pattern,
not matter if it is used in pcase-let, or just pcase?

We could, but the reason why I'm trying to define a new term (which
I called here "destructuring pattern") is to define what happens with
pcase-let, pcase-dolist, pcase-let* where the pattern is assumed
to match.

I only meant to say that introducing a term that somebody fairly familiar with the subject might misinterpret without reading its definition in the manual, could be suboptimal.

But don't mind me, I don't have any alternative proposals anyway.



reply via email to

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