From: Sean Whitton <spwhitton@spwhitton.name>
To: 59786@debbugs.gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>
Subject: bug#59786: Allowing arbitrary expressions in cl-labels
Date: Sun, 15 Jan 2023 10:11:54 -0700 [thread overview]
Message-ID: <87k01nk9id.fsf@melete.silentflame.com> (raw)
In-Reply-To: <jwv359xr3oy.fsf@iro.umontreal.ca> (Stefan Monnier via's message of "Fri, 02 Dec 2022 14:44:13 -0500")
Hello,
On Fri 02 Dec 2022 at 02:44PM -05, Stefan Monnier wrote:
> After I introduced this in `cl-flet` it was pointed out that it was an
> incompatible change since BODY... can be the empty list. Another option
> is to use a syntax like:
>
> (FUNC = EXP) the new new syntax
>
> which should not suffer from such incompatibility since ARGS should
> never be of the form `=`.
I'm usually in support adding new capabilities to existing macros, but
in this case, the cost of using an equals sign is rather high.
How about just defining a new macro fletrec that works this way, like
letrec but for function cells? That would seem like it would address
your usecase.
--
Sean Whitton
prev parent reply other threads:[~2023-01-15 17:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-02 19:44 bug#59786: Allowing arbitrary expressions in cl-labels Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-12-02 20:29 ` Drew Adams
2023-01-13 13:47 ` Michael Heerdegen
2023-01-15 17:11 ` Sean Whitton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k01nk9id.fsf@melete.silentflame.com \
--to=spwhitton@spwhitton.name \
--cc=59786@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.