From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#49316: Add apply-partially's right version Date: Mon, 25 Oct 2021 14:50:57 +0200 Message-ID: <875ytl1d5a.fsf@gnus.org> References: <2315db79-00cf-b2f0-b5df-93cd53392292@gmail.com> <87czs2faas.fsf@tcd.ie> <834kddlvpg.fsf@gnu.org> <27c5c6c9-32d7-0b9a-b883-4f28167ec25c@gmail.com> <83lf6nj2u9.fsf@gnu.org> <835ytm4o3r.fsf@gnu.org> <87fssq8rhn.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39499"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: contovob@tcd.ie, Stefan Kangas , daanturo@gmail.com, 49316@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 25 14:59:38 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mezZh-000A6R-PF for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 25 Oct 2021 14:59:37 +0200 Original-Received: from localhost ([::1]:34922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mezZg-0004Tg-NZ for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 25 Oct 2021 08:59:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mezSN-0006sp-0L for bug-gnu-emacs@gnu.org; Mon, 25 Oct 2021 08:52:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58552) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mezSM-0006Ah-OC for bug-gnu-emacs@gnu.org; Mon, 25 Oct 2021 08:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mezSM-0003JL-FC for bug-gnu-emacs@gnu.org; Mon, 25 Oct 2021 08:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Oct 2021 12:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49316 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 49316-submit@debbugs.gnu.org id=B49316.163516627112640 (code B ref 49316); Mon, 25 Oct 2021 12:52:02 +0000 Original-Received: (at 49316) by debbugs.gnu.org; 25 Oct 2021 12:51:11 +0000 Original-Received: from localhost ([127.0.0.1]:41862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mezRX-0003Ho-Em for submit@debbugs.gnu.org; Mon, 25 Oct 2021 08:51:11 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:55060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mezRV-0003HY-QC for 49316@debbugs.gnu.org; Mon, 25 Oct 2021 08:51:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Sfr9gEdcdoxaAOpj80ljql2g79wOL06+WgeaEin1iws=; b=CHfGiLT+/dgvkPz+lE8yuGkg/R S6s/rSB4gwkEeOXGMeQe11yrcY8EE2wqO8xxg6wdDdyU4zn1VBvFWXFA7kBjSUPhlF43p/ETeint1 npMq395yeObz6HPI5D2v4EkbWaO0nZ0KM9woyIAgD8so87ygB5r+FTJa10VgRXhgOI/4=; Original-Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mezRK-0001AO-BT; Mon, 25 Oct 2021 14:51:01 +0200 X-Now-Playing: Magnus Granberg & Skogen's _Let Pass My Weary Guiltless Ghost_: "Extract from 'Let Pass...' FOR STREAMING" In-Reply-To: (Stefan Monnier's message of "Sun, 24 Oct 2021 10:28:14 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:218265 Archived-At: Stefan Monnier writes: > Like Stefan, I don't find partial application weird. > But I'm not sure what's the advantage of > > (apply-rpartially #'foo x y) > > over > > (lambda (a b) (foo a b x y)) The advantage is that the first form looks more mysterious and you can use words like "currying" to sound smarter. :-) > `apply-partially` was handy before we had `lexical-binding`, but > I wouldn't have added it to Emacs after Emacs-24. > We already have `dash.el` for those users who like this style. I agree. So I think the conclusion here is that we don't want to add apply-rpartially to Emacs core -- the people that prefer this style will find more complete coverage in dash.el (which is on GNU ELPA). So I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no