Skip to content

ClojureCLR 1.11.0-flybot5 (net462)

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 09 Sep 05:18
clojure-1.11.0-flybot5

Fixes

  • #46 split now matches JVM Clojure. It drops trailing empty strings, so (split "a b " #" ") returns ["a" "b"]. A negative limit returns every part instead of throwing ArgumentOutOfRangeException. It also drops an empty first part, so (split "abc" #"") returns ["a" "b" "c"]
  • #48 Util.hasheq hashes a string with Java's String.hashCode, not .NET's randomized String.GetHashCode. APersistentMap/mapHasheq returns Murmur3.HashUnordered, not the pre-1.6 sum of XORs, which the defrecord macro bakes into every record's hasheq. (hash "0ca") returns the JVM's -1465009350 in every process, and so do records and maps. keys walks a string-keyed map in the JVM's order

Backports

Keyword to symbol (#44)

  • CLJCLR-145 (86578fcc) Keyword declares its Symbol property public instead of internal, so the arity-1 symbol call site in core.clj binds it and (symbol :foo) returns foo instead of throwing MissingMethodException