Hi Ambrose

I’ve been playing around with your library and find it very intresting. A 
couple of questions:

1. In order to be able to run your examples I have to comment out the 
clojure.test, clojure.stacktrace and clojure.template namespaces. Otherwise 
I get a NullPointerException[1] which I’m unable to track down. It seems to 
originate from the wall-hack function. What does this function do?

2. Is it possible to do some analysis before macroexpansion? For example, 
If I want to look for the pattern
    
    (if (some-test? …)
        (some-expr …)
        nil)

and print the following: “WARNING: consider using (when …) instead of (if 
test then nil)”. Is this possible since (when test expr) expands to (if 
test (do expr)). Maybe this kind of code analysis is outside the scope of 
your library?

[1]: https://gist.github.com/1553808

-- 
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

Reply via email to