emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Three questions about pcase for Stefan


From: Michael Heerdegen
Subject: Three questions about pcase for Stefan
Date: Sat, 23 Jan 2016 12:48:07 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]