Changelog History
Page 3
-
v2.25 Changes
Now you can chain calls on the proxy
-
v2.24 Changes
๐ Newline sequence is output as \r\n on Windows now.
-
v2.23 Changes
๐ All test helpers moved into clojure.test-helper
-
v2.22 Changes
Just like join works on other collections
(join " and " #{:fred :ethel :lucy}) => ":lucy and :fred and :ethel"
-
v2.21 Changes
Walk modified to work on sorted-by collections
let [x (sorted-set-by > 1 2 3)] (walk inc reverse x)) => (2 3 4)
-
v2.20 Changes
โฑ deref now takes a timeout option - when given with a blocking reference, will return the timeout-val if the timeout (in milliseconds) is reached before value is available.
(deref (promise) 10 :ethel) => :ethel
-
v2.19 Changes
๐ Java
int
s are now boxed asjava.lang.Integer
s. See the discussion on clojure-dev for more information. -
v2.18 Changes
A static method,
loadLibrary
, was added toclojure.lang.RT
to load a library using the system ClassLoader instead of Clojure's class loader. -
v2.17 Changes
๐ป defmulti will check to verify that its options are valid. For example, the following code will throw an exception:
(defmulti fred :ethel :lucy :ricky) => IllegalArgumentException
-
v2.16 Changes
hash
no longer directly uses .hashCode() to return the hash of a Clojure data structure. It callsclojure.lang.Util.hasheq
, which has its own implementation for Integer, Short, Byte, and Clojure collections. This ensures that the hash code returned is consistent with=
.