emacs-devel
[Top][All Lists]
Advanced

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

RE: [External] : Re: Instead of pcase


From: Drew Adams
Subject: RE: [External] : Re: Instead of pcase
Date: Sat, 16 Dec 2023 05:04:43 +0000

>   > In terms of a proposal: If you're going to allow
>   > clauses that just "fall through" (e.g. only match &
>   > bind), then (1) tell users how to easily recognize
>   > them
> 
> The file says this.
> 
>     In this version, each clause exits if it contains more than one
>     element (after the possible keyword), and falls through otherwise.
> 
> I think that is clear and simple.  I don't know if I have posted that
> part.

That's what I guessed.  Stating it explicitly gives
users something quick to look for, to more easily
parse things.

>   > and (2) maybe even add something syntactic that
>   > distinguishes them more easily.
> 
> There are many ways to do that.  Which would you propose?

I don't have a concrete suggestion, but I do think
_some_ syntactic indication would help, as opposed
to discerning whether there's only one sexp.  (Not
that that's hard to do, but it that difference
doesn't "saute aux yeux".)

reply via email to

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