GNU bug report logs - #49316
Add apply-partially's right version

Previous Next

Package: emacs;

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


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: daanturo <daanturo <at> gmail.com>
Cc: contovob <at> tcd.ie, 49316 <at> debbugs.gnu.org
Subject: bug#49316: Add apply-partially's right version
Date: Sat, 03 Jul 2021 10:03:58 +0300
> Cc: contovob <at> tcd.ie, Eli Zaretskii <eliz <at> gnu.org>
> From: daanturo <daanturo <at> gmail.com>
> Date: Fri, 2 Jul 2021 09:49:19 +0700
> 
> I have replaced the examples:
> 
> 
>            (defalias '**2 (apply-rpartially #'expt 2)
>              "Return argument ** 2.")
>            (defalias '2** (apply-partially #'expt 2)
>              "Return 2 ** argument.")
>            (**2 3)
>                 => 9
>            (2** 3)
>                 => 8

Thanks, the patch LGTM.




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.