(clojure.string/join "\n" [ "this" "is" "multiline" "sting" ])
;produces "this\nis\nmultiline\nsting" ;) On Monday, 16 August 2010 08:34:03 UTC+1, faenvie wrote: > > hi clojure-users, > > i wonder what the reason is, that clojure(-reader) > does not allow > > 1. multiline-strings like scala: > > """this is a > | multiline string""" > > 2. multiline comments like java > > /* this is a > multiline comment */ > > someone who can explain or point > to relevant info ? > > thanks -- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.