emacs-devel
[Top][All Lists]
Advanced

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

Re: pcase-if-let?


From: Stefan Monnier
Subject: Re: pcase-if-let?
Date: Thu, 29 Mar 2018 07:59:19 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> PS: Regarding the "unorthodox" shape of the pcase construct, you could
>> generate an expression of the form (pcase (list E1 E2 ...) ((list P1 P2
>> ...) THEN) (_ ELSE)).
> What's `list' - a new pattern type?  If you write it like this, it looks
> like parallel matching of the Pi patterns, though we need to match in
> order for i=1,...

Oh, right we need the `let*` kind of scoping.


        Stefan



reply via email to

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