GNU bug report logs -
#49316
Add apply-partially's right version
Previous Next
Reported by: daanturo <daanturo <at> gmail.com>
Date: Thu, 1 Jul 2021 12:41:02 UTC
Severity: normal
Tags: patch, wontfix
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #58 received at 49316 <at> debbugs.gnu.org (full text, mbox):
daanturo <daanturo <at> 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.
This bug report was last modified 3 years and 211 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.