From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Okam via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#49407: Request: Specify default values in `map-let` in Map.el Date: Fri, 21 Jul 2023 02:56:19 +0000 Message-ID: <08a00b74-56f9-bb81-0411-36f9da8cf2d6@protonmail.com> References: <87eec0klhu.fsf@gnus.org> Reply-To: Okam Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_Sr3bKNXFjrT9gxxYuyTdyDbqsNMe6iA11cJ1tlunGI" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3750"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 49407@debbugs.gnu.org, Stefan Monnier To: Lars Ingebrigtsen , Nicolas Petton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 21 04:57:24 2023 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 1qMgKZ-0000kb-Qs for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Jul 2023 04:57:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMgKF-0005Ks-4t; Thu, 20 Jul 2023 22:57:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMgKE-0005Kh-Au for bug-gnu-emacs@gnu.org; Thu, 20 Jul 2023 22:57:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qMgKE-0004Ga-30 for bug-gnu-emacs@gnu.org; Thu, 20 Jul 2023 22:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMgKD-0005OL-LH for bug-gnu-emacs@gnu.org; Thu, 20 Jul 2023 22:57:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Okam Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Jul 2023 02:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49407 X-GNU-PR-Package: emacs Original-Received: via spool by 49407-submit@debbugs.gnu.org id=B49407.168990820620696 (code B ref 49407); Fri, 21 Jul 2023 02:57:01 +0000 Original-Received: (at 49407) by debbugs.gnu.org; 21 Jul 2023 02:56:46 +0000 Original-Received: from localhost ([127.0.0.1]:60291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMgJx-0005Nj-IX for submit@debbugs.gnu.org; Thu, 20 Jul 2023 22:56:46 -0400 Original-Received: from mail-40131.protonmail.ch ([185.70.40.131]:26413) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMgJt-0005NL-Sl for 49407@debbugs.gnu.org; Thu, 20 Jul 2023 22:56:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1689908194; x=1690167394; bh=6WX/ficKxe3dSX6TWgaF1BLWX/9ulZih1ffDHB8uJoc=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=j9y3ymMazC71fQDctbY5K9/4QO8p3LoO+T2k7N6xrvWpnUyzGWkGJxEMdttBxVc11 oSS05mCbOYWAeTA1WAy63ZSe5tOyvIS3LbPXOKsl+FYpNRdeMQC2OZXJfDzb/razm/ IKMNZgODmxQF5LtNs2X04TYBFmAimqGaH0h+2Os41orqPQ1JqLzocl7Oy1mlkWxDLJ SyX8+u0C3tE7w0cDqc3rv9kcHSJAmVBmVDTbt/51n5JR3KvZPI+pxitb+im7HS4lRD qke7p4wl4c8NsAILWmcxLrME4jN856tngMgJCvFF3LSBXjYq2s9Z6isy2UA4jx6YMX TtzG2eUOpdLBQ== In-Reply-To: <87eec0klhu.fsf@gnus.org> Feedback-ID: 25935600:user:proton 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:265649 Archived-At: This is a multi-part message in MIME format. --b1_Sr3bKNXFjrT9gxxYuyTdyDbqsNMe6iA11cJ1tlunGI Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2021-07-15 08:51 UTC, Lars Ingebrigtsen wrote: > Okam writes: >=20 >> `map-let` allows one to conveniently bind variables using `map-elt`, but >> does not provide a way specify a default value if a key is missing. >> >> With `map-elt`, one can use the optional third argument to specify this >> value. It would be good to have this in `map-let` as well. >> >> For example, maybe it could look something like >> >> ;; As just a third value in the list: >> (let ((map '(:a 1 :b 2))) >> (map-let ((:a a) >> (:b b) >> (:c c 3)) >> map >> (+ a b c))) >=20 > Hm... I guess that could be useful. I've added Nicolas to the CCs; > perhaps he has an opinion here. >=20 > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no Hello, I've written a patch and tests that would add an optional third argument=20 for a default value. I also changed the documentation string for the=20 pcase pattern, which said that unfound keys are ignored and won't cause=20 the pattern to fail. That didn't seem true for patterns that didn't=20 match nil. For example, this won't match: (pcase '(:two 2) ((map (:two two 33) (:three `(,a . ,b))) (list two a b)) (_ 'fail)) However, I have a question about avoiding using a lambda. I see that the=20 pattern uses `pcase--flip`, which is "used internally to avoid (funcall=20 (lambda ...) ...)". Why should lambda functions be avoided for this, and=20 I should be using a custom helper function for this one pattern? Thank you. --b1_Sr3bKNXFjrT9gxxYuyTdyDbqsNMe6iA11cJ1tlunGI Content-Type: text/x-patch; charset=UTF-8; name=0001-Allow-default-values-in-map-let-and-the-pcase-map-fo.patch Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=0001-Allow-default-values-in-map-let-and-the-pcase-map-fo.patch RnJvbSAxZGJiNzk3YTlhNzM2ZmM4MWFkOWY2NzJkYTgxNWUyNTEwZTdmMzFhIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBFYXJsIEh5YXR0IDxva2Ftc25AcHJvdG9ubWFpbC5jb20+CkRh dGU6IFRodSwgMjAgSnVsIDIwMjMgMjE6NDQ6NDEgLTA0MDAKU3ViamVjdDogW1BBVENIXSBBbGxv dyBkZWZhdWx0IHZhbHVlcyBpbiAnbWFwLWxldCcgYW5kIHRoZSBwY2FzZSAnbWFwJyBmb3JtCgoq IGxpc3AvZW1hY3MtbGlzcC9tYXAuZWwgKG1hcC1sZXQsIG1hcCkKKG1hcC0tbWFrZS1wY2FzZS1i aW5kaW5ncyk6IEFkZCBhIHRoaXJkIGFyZ3VtZW50IGZvciBzcGVjaWZ5aW5nIGEKZGVmYXVsdCB2 YWx1ZSwgbGlrZSBpbiAnbWFwLWVsdCcuIChCdWcjNDk0MDcpCgoqIGxpc3AvZW1hY3MtbGlzcC9t YXAuZWwgKG1hcC0tbWFrZS1wY2FzZS1iaW5kaW5ncyk6IENsYXJpZnkgdGhhdCBrZXlzCnRoYXQg YXJlbid0IGZvdW5kIGFyZW4ndCBpZ25vc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WJsZSwgb3IgYXJyYXkuIgogICAoZGVjbGFyZSAoaW5kZW50IDIpCi0gICAgICAgICAgIChk ZWJ1ZyAoKCZyZXN0ICZvciBzeW1ib2xwIChbZm9ybSBzeW1ib2xwXSkpIGZvcm0gYm9keSkpKQor ICAgICAgICAgICAoZGVidWcgKCgmcmVzdCAmb3Igc3ltYm9scCAoW2Zvcm0gc3ltYm9scCAmb3B0 aW9uYWwgZm9ybV0pKQorICAgICAgICAgICAgICAgICAgIGZvcm0gYm9keSkpKQogICBgKHBjYXNl LWxldCAoKCwobWFwLS1tYWtlLXBjYXNlLXBhdHRlcm5zIGtleXMpICxtYXApKQogICAgICAsQGJv ZHkpKQogCkBAIC01OTksNyArNjA2LDExIEBAIG1hcC0tbWFrZS1wY2FzZS1iaW5kaW5ncwogICAi UmV0dXJuIGEgbGlzdCBvZiBwY2FzZSBiaW5kaW5ncyBmcm9tIEFSR1MgdG8gdGhlIGVsZW1lbnRz IG9mIGEgbWFwLiIKICAgKG1hcGNhciAobGFtYmRhIChlbHQpCiAgICAgICAgICAgICAoY29uZCAo KGNvbnNwIGVsdCkKLSAgICAgICAgICAgICAgICAgICBgKGFwcCAocGNhc2UtLWZsaXAgbWFwLWVs dCAsKGNhciBlbHQpKSAsKGNhZHIgZWx0KSkpCisgICAgICAgICAgICAgICAgICAgKGlmIChjZGRy IGVsdCkKKyAgICAgICAgICAgICAgICAgICAgICAgYChhcHAgKGxhbWJkYSAoYXJnKQorICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIChtYXAtZWx0IGFyZyAsKGNhciBlbHQpICwoY2FkZHIg ZWx0KSkpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICwoY2FkciBlbHQpKQorICAgICAg ICAgICAgICAgICAgICAgYChhcHAgKHBjYXNlLS1mbGlwIG1hcC1lbHQgLChjYXIgZWx0KSkgLChj YWRyIGVsdCkpKSkKICAgICAgICAgICAgICAgICAgICgoa2V5d29yZHAgZWx0KQogICAgICAgICAg ICAg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LW1hcC1wbGlzdC1wY2FzZS1kZWZhdWx0ICgpCisgIChsZXQgKChw bGlzdCAnKDp0d28gMikpKQorICAgIChzaG91bGQgKGVxdWFsIChwY2FzZS1sZXQgKCgobWFwICg6 dHdvIHR3byAzMykKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoOnRocmVl IHRocmVlIDQ0KSkKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcGxpc3QpKQorICAg ICAgICAgICAgICAgICAgICAgKGxpc3QgdHdvIHRocmVlKSkKKyAgICAgICAgICAgICAgICAgICAn KDIgNDQpKSkpKQorCisoZXJ0LWRlZnRlc3QgdGVzdC1tYXAtcGNhc2UtbWF0Y2hlcyAoKQorICAo bGV0ICgocGxpc3QgJyg6dHdvIDIpKSkKKyAgICAoc2hvdWxkIChlcXVhbCAocGNhc2UgcGxpc3QK KyAgICAgICAgICAgICAgICAgICAgICgobWFwICg6dHdvIHR3byAzMykKKyAgICAgICAgICAgICAg ICAgICAgICAgICAgICg6dGhyZWUgdGhyZWUpKQorICAgICAgICAgICAgICAgICAgICAgIChsaXN0 IHR3byB0aHJlZSkpCisgICAgICAgICAgICAgICAgICAgICAoXyAnZmFpbCkpCisgICAgICAgICAg ICAgICAgICAgJygyIG5pbCkpKQorCisgICAgKHNob3VsZCAoZXF1YWwgKHBjYXNlIHBsaXN0Cisg ICAgICAgICAgICAgICAgICAgICAoKG1hcCAoOnR3byB0d28gMzMpCisgICAgICAgICAgICAgICAg ICAgICAgICAgICAoOnRocmVlIHRocmVlIDQ0KSkKKyAgICAgICAgICAgICAgICAgICAgICAobGlz dCB0d28gdGhyZWUpKQorICAgICAgICAgICAgICAgICAgICAgKF8gJ2ZhaWwpKQorICAgICAgICAg ICAgICAgICAgICcoMiA0NCkpKQorCisgICAgKHNob3VsZCAoZXF1YWwgKHBjYXNlIHBsaXN0Cisg ICAgICAgICAgICAgICAgICAgICAoKG1hcCAoOnR3byB0d28gMzMpCisgICAgICAgICAgICAgICAg ICAgICAgICAgICAoOnRocmVlIGAoLGEgLiAsYikgJygxMSAuIDIyKSkpCisgICAgICAgICAgICAg ICAgICAgICAgKGxpc3QgdHdvIGEgYikpCisgICAgICAgICAgICAgICAgICAgICAoXyAnZmFpbCkp CisgICAgICAgICAgICAgICAgICAgJygyIDExIDIyKSkpCisKKyAgICAoc2hvdWxkIChlcXVhbCAn ZmFpbAorICAgICAgICAgICAgICAgICAgIChwY2FzZSBwbGlzdAorICAgICAgICAgICAgICAgICAg ICAgKChtYXAgKDp0d28gdHdvIDMzKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgKDp0aHJl ZSBgKCxhIC4gLGIpIDQ0KSkKKyAgICAgICAgICAgICAgICAgICAgICAobGlzdCB0d28gYSBiKSkK KyAgICAgICAgICAgICAgICAgICAgIChfICdmYWlsKSkpKQorCisgICAgKHNob3VsZCAoZXF1YWwg J2ZhaWwKKyAgICAgICAgICAgICAgICAgICAocGNhc2UgcGxpc3QKKyAgICAgICAgICAgICAgICAg ICAgICgobWFwICg6dHdvIHR3byAzMykKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICg6dGhy ZWUgYCgsYSAuICxiKSBuaWwpKQorICAgICAgICAgICAgICAgICAgICAgIChsaXN0IHR3byBhIGIp KQorICAgICAgICAgICAgICAgICAgICAgKF8gJ2ZhaWwpKSkpKSkKKwogKGVydC1kZWZ0ZXN0IHRl c3QtbWFwLXNldGYtYWxpc3QtaW5zZXJ0LWtleSAoKQogICAobGV0ICgoYWxpc3QpKQogICAgIChz aG91bGQgKGVxdWFsIChzZXRmIChtYXAtZWx0IGFsaXN0ICdrZXkpICd2YWx1ZSkKLS0gCjIuMzQu MQoK --b1_Sr3bKNXFjrT9gxxYuyTdyDbqsNMe6iA11cJ1tlunGI--