minor reorganizing

This commit is contained in:
Gered 2014-03-02 10:16:57 -05:00
parent b010bda2d1
commit 3770f16ebd

View file

@ -45,11 +45,6 @@
(to-clojure [_] (to-clojure [_]
nil)) 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 (defprotocol ClojureToJava
(to-java [x])) (to-java [x]))
@ -76,6 +71,11 @@
(to-java [x] (to-java [x]
nil)) 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 (defn clojure->java
"converts a clojure value to an equivalent value using a java object" "converts a clojure value to an equivalent value using a java object"
[x] [x]