GNU bug report logs - #20643
24.5; Please improve documentation of `pcase-let'

Previous Next

Package: emacs;

Reported by: Philipp Stephani <p.stephani2 <at> gmail.com>

Date: Sun, 24 May 2015 10:38:02 UTC

Severity: minor

Tags: fixed

Found in version 24.5

Fixed in version 25.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Philipp Stephani <p.stephani2 <at> gmail.com>
Cc: 20643 <at> debbugs.gnu.org
Subject: bug#20643: 24.5; Please improve documentation of `pcase-let'
Date: Sun, 21 Jun 2015 21:23:47 -0400
> Thanks. Though I think it would be better to be more defensive and
> guarantee to raise a signal in the case of a mismatch.

If you want that, you need to use pcase, or pcase-exclusive.

This is a judgment call, but it lets pcase-let generate significantly
shorter and more efficient code and hence better serve the expected
common case.


        Stefan




This bug report was last modified 6 years and 264 days ago.

Previous Next


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