clojail icon indicating copy to clipboard operation
clojail copied to clipboard

Update to work with Clojure 1.7

Open mshenfield opened this issue 9 years ago • 1 comments

Upgrade clojail to work with the latest stable release of Clojure (1.7 as of today). This lays the groundwork for TryClojure to use Clojure 1.7, as mentioned in Raynes/tryclojure/issues/53.

mshenfield avatar Jan 18 '16 05:01 mshenfield

The only breaking change is an update to the threading macro in Clojure 1.6, which, instead of expanding

(macroexpand '(-> x inc dec)) to (dec (clojure.core/-> x inc))

as in 1.5, outputs a complete result instead of a recursive one in 1.6+

(dec (inc x))

Updated the tests to use an argument to macroexpand that doesn't conflict across versions.

mshenfield avatar Jan 18 '16 06:01 mshenfield