all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#16567: 24.3.50; pcase should signal an error if no case matches
@ 2014-01-27  9:22 Helmut Eller
  2014-01-27 10:27 ` Daimrod
                   ` (2 more replies)
  0 siblings, 3 replies; 27+ messages in thread
From: Helmut Eller @ 2014-01-27  9:22 UTC (permalink / raw)
  To: 16567

pcase returns nil for this example:

 (pcase 3
   (1 1)
   (2 2))

it would be more useful if it would signal an error instead.  Manually
adding a "catch-all case" and inventing some error message is tedious
and it's also easy to forget.





^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2014-09-13 17:25 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-27  9:22 bug#16567: 24.3.50; pcase should signal an error if no case matches Helmut Eller
2014-01-27 10:27 ` Daimrod
2014-01-27 11:56   ` Helmut Eller
2014-01-27 12:23     ` Daimrod
2014-09-08 18:27 ` Leo Liu
2014-09-08 19:19 ` Stefan Monnier
2014-09-08 20:58   ` Helmut Eller
2014-09-09  0:41     ` Stefan Monnier
2014-09-10  0:02       ` Leo Liu
2014-09-10  2:26         ` Stefan Monnier
2014-09-10  2:52           ` Leo Liu
2014-09-10  5:32             ` Josh
2014-09-10  6:18               ` Helmut Eller
2014-09-10 13:17             ` Stefan Monnier
2014-09-10 14:28               ` Helmut Eller
2014-09-10 17:26                 ` Stefan Monnier
2014-09-10 14:33               ` Leo Liu
2014-09-10 16:54               ` Glenn Morris
2014-09-10 17:54                 ` Stefan Monnier
2014-09-12  2:35                   ` Leo Liu
2014-09-12 17:15                     ` Stefan Monnier
2014-09-13  0:29                       ` Leo Liu
2014-09-13  3:10                         ` Stefan Monnier
2014-09-13  4:57                           ` Leo Liu
2014-09-13 15:01                             ` Stefan Monnier
2014-09-13 17:25                               ` Leo Liu
2014-09-10 17:39               ` Richard Stallman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.