I have the following definitions and am trying to use the strint macro (<<) to perform string substitutions.
test1=>(use 'clojure.contrib.strint) test1=> (def m {:XYZ 1, :ABC 2}) test1=> (def q "select ~(:XYZ m) from ~(:ABC m)") The following works when I specify my string directly: test1=> (<< "select ~(:XYZ m) from ~(:ABC m)") "select 1 from 2" But doesn't work when I pass the string through a variable: test1=> (<< (str q)) "select ~(:XYZ m) from ~(:ABC m)" Thanks for your help. -- Shoeb -- 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