[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Installing cond* in core
From: |
Stefan Monnier |
Subject: |
Re: Installing cond* in core |
Date: |
Wed, 20 Mar 2024 18:54:49 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
> [[[ To any NSA and FBI agents reading my email: please consider ]]]
> [[[ whether defending the US Constitution against all enemies, ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>
> > does that mean that the semantics you provide is in ALWAYS, the vars
> > bound by PAT are bound to the matched values when PAT did match and they
> > are all bound to nil otherwise?
>
> That is what makes sense, and that is what I think the code does.
OK, so it "behaves the same" as what Pcase does for `(or PAT _)`.
The semantics sounds fine, then and would be easy enough to reproduce with
Pcase.
I wonder how often this :no-exit form is useful, tho.
Stefan
- Re: Installing cond* in core, Richard Stallman, 2024/03/12
- Re: Installing cond* in core, Stefan Monnier, 2024/03/12
- Re: Installing cond* in core, Richard Stallman, 2024/03/15
- Re: Installing cond* in core, Stefan Monnier, 2024/03/16
- Re: Installing cond* in core, Richard Stallman, 2024/03/17
- Re: Installing cond* in core, Stefan Monnier, 2024/03/17
- Re: Installing cond* in core, Peter Hull, 2024/03/19
- Re: Installing cond* in core, Richard Stallman, 2024/03/20
- Re: Installing cond* in core,
Stefan Monnier <=