upgrade to clojure 1.9-alpha16
This commit is contained in:
parent
490df8aaa8
commit
fdd19b4a4c
|
@ -1,8 +1,8 @@
|
||||||
(defproject org.arachne-framework/valuehash "0.1.0"
|
(defproject org.arachne-framework/valuehash "0.1.1"
|
||||||
:description "Value based hashing for Clojure data"
|
:description "Value based hashing for Clojure data"
|
||||||
:license {:name "Eclipse Public License"
|
:license {:name "Eclipse Public License"
|
||||||
:url "http://www.eclipse.org/legal/epl-v10.html"}
|
:url "http://www.eclipse.org/legal/epl-v10.html"}
|
||||||
:dependencies [[org.clojure/clojure "1.9.0-alpha14" :scope "provided"]
|
:dependencies [[org.clojure/clojure "1.9.0-alpha16" :scope "provided"]
|
||||||
[org.clojure/test.check "0.9.0" :scope "test"]
|
[org.clojure/test.check "0.9.0" :scope "test"]
|
||||||
[criterium "0.4.4" :scope "test"]]
|
[criterium "0.4.4" :scope "test"]]
|
||||||
:repositories [["arachne-dev" "http://maven.arachne-framework.org/artifactory/arachne-dev"]])
|
:repositories [["arachne-dev" "http://maven.arachne-framework.org/artifactory/arachne-dev"]])
|
||||||
|
|
|
@ -64,4 +64,4 @@
|
||||||
(defn sha-256-str
|
(defn sha-256-str
|
||||||
"Return the sha256 digest of an arbitrary Clojure data structure, as a string"
|
"Return the sha256 digest of an arbitrary Clojure data structure, as a string"
|
||||||
[obj]
|
[obj]
|
||||||
(hex-str (sha-256 obj)))
|
(hex-str (sha-256 obj)))
|
||||||
|
|
|
@ -108,4 +108,4 @@
|
||||||
(map map-entry->byte-array)
|
(map map-entry->byte-array)
|
||||||
(sort ba-comparator)
|
(sort ba-comparator)
|
||||||
(cons map-sep)
|
(cons map-sep)
|
||||||
(join-byte-arrays))))
|
(join-byte-arrays))))
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
(ns valuehash.specs
|
(ns valuehash.specs
|
||||||
(:require [clojure.spec :as s]))
|
(:require [clojure.spec.alpha :as s]))
|
||||||
|
|
||||||
(def byte-array-class (class (byte-array 0)))
|
(def byte-array-class (class (byte-array 0)))
|
||||||
|
|
||||||
|
|
|
@ -54,4 +54,4 @@
|
||||||
|
|
||||||
(bench-complex)
|
(bench-complex)
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue