I'm trying to understand how clojure macros apply to lists. I'm confused by the following:
(defmacro islist [f] (list? f))
(islist (1 2)) ; true
(islist '(1 2)) ; false
(islist (quote (1 2))) ; true
Is this expected? I've noticed that lists I pass to to macros return false when evaluated with list?
inside the macro. That is, the second example is particularly confusing.