[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19670: 24.4; pcase-let bug?
From: |
Stefan Monnier |
Subject: |
bug#19670: 24.4; pcase-let bug? |
Date: |
Sat, 24 Jan 2015 00:07:41 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> 1 produces (1) and 2 nil. Bug?
Feature: the `pcase' form can have several branches (and defaults to
nil if no branch matches), whereas the `pcase-let' form doesn't have the
luxury of a "default case if it doesn't match", so we have to choose
between "signal an error if it doesn't match" or "pretend it matched".
I opted for the second choice.
Stefan