unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#18554: 24.4.50; pcase bug
@ 2014-09-25  3:01 Leo Liu
  2014-09-27  4:27 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Leo Liu @ 2014-09-25  3:01 UTC (permalink / raw)
  To: 18554


Oddly pcase fails miserably in the following example:

 (pcase '(2 . 3)
   (`(,hd . ,(and (pred atom) tl)) (list hd tl))
   ((pred consp) nil))





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

* bug#18554: 24.4.50; pcase bug
  2014-09-25  3:01 bug#18554: 24.4.50; pcase bug Leo Liu
@ 2014-09-27  4:27 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2014-09-27  4:27 UTC (permalink / raw)
  To: Leo Liu; +Cc: 18554-done

> Oddly pcase fails miserably in the following example:

>  (pcase '(2 . 3)
>    (`(,hd . ,(and (pred atom) tl)) (list hd tl))
>    ((pred consp) nil))

Thanks, should be fixed now,


        Stefan





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

end of thread, other threads:[~2014-09-27  4:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-25  3:01 bug#18554: 24.4.50; pcase bug Leo Liu
2014-09-27  4:27 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).