minor reorganizing
This commit is contained in:
parent
b010bda2d1
commit
3770f16ebd
|
@ -45,11 +45,6 @@
|
|||
(to-clojure [_]
|
||||
nil))
|
||||
|
||||
(defn java->clojure
|
||||
"converts a java value to an equivalent value using one of the clojure data types"
|
||||
[x]
|
||||
(to-clojure x))
|
||||
|
||||
(defprotocol ClojureToJava
|
||||
(to-java [x]))
|
||||
|
||||
|
@ -76,6 +71,11 @@
|
|||
(to-java [x]
|
||||
nil))
|
||||
|
||||
(defn java->clojure
|
||||
"converts a java value to an equivalent value using one of the clojure data types"
|
||||
[x]
|
||||
(to-clojure x))
|
||||
|
||||
(defn clojure->java
|
||||
"converts a clojure value to an equivalent value using a java object"
|
||||
[x]
|
||||
|
|
Reference in a new issue