Clojure JIRAhttp://dev.clojure.org/jira
This file is an XML representation of an issueen-us4.464925-07-2011[CLJS-438] copy cond-> etc from 1.5http://dev.clojure.org/jira/browse/CLJS-438
ClojureScript<p>Attached patch (cljs-438-condetc.patch, 11 Dec 2012) copies cond-&gt;, cond-&gt;&gt;, as-&gt;, some-&gt;, and some-&gt;&gt; from 1.5 master. This lets ClojureScript users use these macros without requiring Clojure 1.5.</p>
<p>I suppose this maybe should wait until 1.5.0 is out, in case another renaming occurs.</p>
<p>Another way to do this would be to have import-macros ignore missing macros and add these there. Then the macros would only be available for users requiring Clojure 1.5 (which.. makes sense), and we wouldn't have to copy them.</p>CLJS-438copy cond-> etc from 1.5EnhancementMajorClosedCompletedUnassignedTom JackTue, 11 Dec 2012 17:50:07 -0600Sat, 27 Jul 2013 15:56:24 -0500Sun, 17 Mar 2013 15:01:52 -050003<p>I'm inclined to hold off on this one since 1.5 is so close. As soon as 1.5 becomes official I'd like to make it a requirement for ClojureScript - as then I can merge the source-map branch and hopefully get some help on that work.</p><p>Sounds good.</p><p>Is this patch up-to-date? Seems like 1.5 is just around the corner.</p><p>Can we get an updated version of this patch that applies to master? Thanks!</p><p>You want the patch as is, copying the macros from 1.5? I assumed we'd move to 1.5 and then we can just add cond-&gt; etc to the import-macros call.</p><p>Here's the patch I think you want. It applies to master and assumes 1.5. (<a href="http://dev.clojure.org/jira/browse/CLJS-438" title="copy cond-&gt; etc from 1.5"><del>CLJS-438</del></a>_2012-03-16.patch)</p><p>fixed, <a href="http://github.com/clojure/clojurescript/commit/f311159889e66f7029e41ae5f61fda9ac3779643">http://github.com/clojure/clojurescript/commit/f311159889e66f7029e41ae5f61fda9ac3779643</a></p>Global RankPatchCode