[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#49316: Add apply-partially's right version
From: |
Michael Heerdegen |
Subject: |
bug#49316: Add apply-partially's right version |
Date: |
Tue, 06 Jul 2021 06:33:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
daanturo <daanturo@gmail.com> writes:
> The author has mentioned that the reason for being a macro with extra
> parentheses was the ability to work with `eldoc`: inside the inner pair of
> parentheses, we can look at parameters suggestion which is normally
> not possible
> with `apply-partially`.
>
> `applying-partially` is bit confusing given the name of the existing
> function.
> To differentiate it, can we name this macro differently? Like
> `any-partial-application`, `partially-apply-at_`, etc.
I don't insist on the name, I used just some random different name.
There are several advantages of a macro here: the parameters can be
processed at compile-time, generating slightly nicer code. And the
programmer doesn't need to quote the _ symbol.
But I agree that a function version would make sense, too.
Michael.
- bug#49316: Add apply-partially's right version, (continued)
bug#49316: Add apply-partially's right version, Michael Heerdegen, 2021/07/01
- bug#49316: Add apply-partially's right version, daanturo, 2021/07/02
- bug#49316: Add apply-partially's right version, Michael Heerdegen, 2021/07/02
- bug#49316: Add apply-partially's right version, daanturo, 2021/07/03
- bug#49316: Add apply-partially's right version, Phil Sainty, 2021/07/03
- bug#49316: Add apply-partially's right version, daanturo, 2021/07/05
- bug#49316: Add apply-partially's right version, Phil Sainty, 2021/07/05
- bug#49316: Add apply-partially's right version,
Michael Heerdegen <=
- bug#49316: Add apply-partially's right version, daanturo, 2021/07/07