On Wed, Jun 15, 2011 at 10:47 PM, Alex Baranosky <alexander.barano...@gmail.com> wrote: > IS it possible to use the regex reader macro #"" with generated code? What > I mean is do something like: > #"${(join "|" (range 1 10000))}" > I'm using ${...} to mean string interpolation, though I know Clojure doesn't > have that syntax. Is there a way to get this effect or must I use > (re-pattern (join "|" (range 1 10000)))
The latter. You'd need user-defined read macros for the former. -- Protege: What is this seething mass of parentheses?! Master: Your father's Lisp REPL. This is the language of a true hacker. Not as clumsy or random as C++; a language for a more civilized age. -- 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