Subject: bug#49316: Add apply-partially's right version

From: Michael Heerdegen <[email-masked]>
Date: Fri, 02 Jul 2021 00:34:34 +0200

daanturo <[email-masked]> 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.