GNU bug report logs - #16567
24.3.50; pcase should signal an error if no case matches

Previous Next

Package: emacs;

Reported by: Helmut Eller <eller.helmut <at> gmail.com>

Date: Mon, 27 Jan 2014 09:24:01 UTC

Severity: wishlist

Found in version 24.3.50

Fixed in version 25.1

Done: Leo Liu <sdl.web <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #47 received at 16567 <at> debbugs.gnu.org (full text, mbox):

From: Helmut Eller <eller.helmut <at> gmail.com>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: 16567 <at> debbugs.gnu.org, Leo Liu <sdl.web <at> gmail.com>
Subject: Re: bug#16567: 24.3.50;
 pcase should signal an error if no case matches
Date: Wed, 10 Sep 2014 16:28:40 +0200
On Wed, Sep 10 2014, Stefan Monnier wrote:

> I'm open to other suggestions, and `pcasex' is not unacceptable, so
> I think we're closing in.

pcase* looks less exotic that pcasex; though it's harder to type.

BTW, I find it surprising that this doesn't signal an error:

(pcase-let ((`(1 ,x) '("foo")))
 x)

But I suspect that "it's not an option" to change pcase-let.

Helmut




This bug report was last modified 10 years and 290 days ago.

Previous Next


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