[Top][All Lists]

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

Re: Another pcase-lambda

From: Ted Zlatanov
Subject: Re: Another pcase-lambda
Date: Wed, 04 Oct 2017 12:12:24 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

On Wed, 04 Oct 2017 13:03:03 +0200 Michael Heerdegen <address@hidden> wrote: 

MH> Ted Zlatanov <address@hidden> writes:
>> On Sat, 23 Sep 2017 10:29:53 -0400 Stefan Monnier
>> <address@hidden> wrote:
SM> There a "case" to be made that all variable bindings should
SM> support the pcase syntax (i.e. dolist should be pcase-dolist, let
SM> should be pcase-let, ...).
>> I'm not sure I understand what you're proposing.

MH> AFAIU the proposal is to make any construct that receives variable
MH> bindings implicitly act like the `pcase' variant, i.e. `lambda' would
MH> become equivalent to `pcase-lambda' (which would become obsolete) etc.

That sounds good for people who use `pcase'. Does it have the potential
to create confusion or bugs (including performance issues) for the rest?
If yes, can it be optional for some time?

Outside of those concerns, I think it's a great idea and would use it.


reply via email to

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