On Sep 7, 2012, at 6:20 AM, Marko Topolnik wrote:

> clojure.core.strint is a nice tool to have, but for longer strings the 
> limitation of << to a single argument becomes a problem. If I want to wrap my 
> code to fit maximum line length, I cannot split the string argument into 
> several string literals. Is there an existing way to deal with this, or could 
> the << macro be extended to receive more than one string argument?

Good idea; I've occasionally had long << strings as well, but never took the 
time to make the small tweak to allow such things to be split up.

This is now on master — 
https://github.com/clojure/core.incubator/commit/9f2590f2cf22c37ba66010983bf6eaf21a90084c
 — and 0.1.2-SNAPSHOT is available from Sonatype's OSS snapshots repo.

Assuming no one shrieks about some serious problem, I'll cut a 0.1.2 release 
containing this enhancement later today.

Cheers,

- Chas

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