Hi, On Sun, Feb 14, 2010 at 08:58:56PM -0500, Garth Sheldon-Coulson wrote:
> (Revised version: What characterizes an expression? Is it correct to say > that an expression is always something for which seq? returns true and never > something for which seq? returns false?) I don't think so. {:a :b} is just an expression (which evaluates to a map) as is 5 (evaluating to 5) as is x (evaluating to whatever x is bound to) as is (inc 1) (evaluating to 2). > And please consider the other questions revised as appropriate. In > particular, please restrict my question about quote and syntax-quote to > situations where they quote a form demarcated by parens. I would still like > to know whether there is anything certain about the types returned by quote > and syntax-quote when they are called on a paren-demacated form. As Clojure is based on abstractions everything relying on specific types should be questioned. Especially since in the future reify may kill that idea completely. My (certainly limited) experience with this kind of questions is: Why do you need to know? There may be perfectly valid reasons. Then I would go with seq?. Sincerely Meikel -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en