I've been trying to understand the macro syntax in clojure.  I think
macro's are closer to the kind of functionality I'm looking for (as
opposed to multi-methods) but I'm not sure.

http://gist.github.com/126315

I wrote the above code, which simply processes Java-style Properties
files (using the java interfaces) as
a learning exercise.  It works, but I'm still hazy about exactly why
it works.

I spent a lot of time figuring out the escape/not escape syntax.  What
do you recommend as a starting place for understanding what needs to
be escaped, and what doesn't?  Is that even the right question?
What's the best way to learn the proper care and feeding of macros?
Is there another/better way of passing a method name to a function as
an argument than via a macro?

Another question I have is that the Properties class is listed as
being thread safe.  Does that mean
it can safely be used in the multi-threaded Clojure app?

Lastly,  is there any way to turn a string into a :thing?  For
example,  I've got "stow" and I want a function
that returns :stow.

Thank you

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