2009/4/6 Nathan Kitchen <nathan.kitc...@gmail.com> > > On Apr 4, 4:16 pm, Stuart Sierra <the.stuart.sie...@gmail.com> wrote: > > This can be macro-ized: > > > > (defmacro bigstr [& strings] > > "Concatenates strings at compile time." > > (apply str strings)) > > > > user> (macroexpand-1 '(bigstr "This is a really long string " > > "that I just felt like using " > > "in my program.")) > > "This is a really long string that I just felt like using in my > > program." > > Umm...how is bigstr different from str itself?
bigstr is a macro, that will only work at compile with literal strings. HTH, -- Laurent --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---