|
From: | Michael Heerdegen |
Subject: | bug#49316: Add apply-partially's right version |
Date: | Fri, 02 Jul 2021 00:34:34 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
daanturo <daanturo@gmail.com> writes: | +(defun apply-rpartially (fun &rest args) | + "Return a function that is a partial application of FUN to ARGS to the | right. | +ARGS is a list of the last N arguments to pass to FUN. I wonder: If we leave syntax aside for a moment - this suggestion seems to provide a solution for a quite special case: is this useful more often than partial application of arbitrary arguments? Could we instead provide something that allows partial application of arbitrary arguments, e.g. one of the arguments in the middle? Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |