unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Three questions about pcase for Stefan
@ 2016-01-23 11:48 Michael Heerdegen
  2016-01-23 15:36 ` Stefan Monnier
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Heerdegen @ 2016-01-23 11:48 UTC (permalink / raw)
  To: Emacs Development; +Cc: Stefan Monnier

Hi Stefan,

1.  The following raises an error:

(pcase 1.0
  (1.0 t))

i.e., floats do not count as "atom".  This is consistent, also explained
correctly in the doc, but may nonetheless be confusing.  What led you to
this decision?


2.  Do you think we can already bury the old deprecated special behavior
of the atoms nil and t as patterns?


3.  Is it correct to say that not only the functions used in a pred
pattern, but any ordinary Lisp code part of any pattern (guard, app,
let, etc.) should be pure in the same sense?


Thanks,

Michael.



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

end of thread, other threads:[~2016-01-24  4:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-23 11:48 Three questions about pcase for Stefan Michael Heerdegen
2016-01-23 15:36 ` Stefan Monnier
2016-01-23 15:45   ` Michael Heerdegen
2016-01-24  4:52     ` Stefan Monnier
2016-01-23 21:23   ` Paul Eggert
2016-01-23 22:08     ` Drew Adams
2016-01-23 22:22     ` 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).