GNU bug report logs - #49407
Request: Specify default values in `map-let` in Map.el

Previous Next

Package: emacs;

Reported by: Okam <okamsn <at> protonmail.com>

Date: Sun, 4 Jul 2021 23:10:01 UTC

Severity: wishlist

Fixed in version 30.1

Done: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Okam <okamsn <at> protonmail.com>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 49407 <at> debbugs.gnu.org, Nicolas Petton <nicolas <at> petton.fr>, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#49407: Request: Specify default values in `map-let` in Map.el
Date: Thu, 27 Jul 2023 01:39:21 +0000
[Message part 1 (text/plain, inline)]
Michael Heerdegen wrote:
 > Only one detail:
 >
 > | @@ -71,12 +79,14 @@ map-let
 > |  KEYS can be a list of symbols, in which case each element will be
 > |  bound to the looked up value in MAP.
 > |
 > | -KEYS can also be a list of (KEY VARNAME) pairs, in which case
 > | -KEY is an unquoted form.
 > | +KEYS can also be a list of (KEY VARNAME) pairs and
 > | +\(KEY VARNAME DEFAULT) triples, in which case KEY is an
 > | +unquoted form.
 >
 > Here you could also say that DEFAULT is an unquoted form.

I have made that change. Please see the attached file.
[v3-0001-Allow-default-values-in-map-let-and-the-pcase-map.patch (text/x-patch, attachment)]

This bug report was last modified 2 years and 2 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.