Liking cljdoc? Tell your friends :D

yang.java


-mapToEdnclj

(-mapToEdn m)
source

-toFunclj

(-toFun fun)
source

jfun->funclj

(jfun->fun fun)

convert a Java function to a Clojure fn so it can be later composed together with other Clojure functions

convert a Java function to a Clojure fn
so it can be later composed together with other Clojure functions
sourceraw docstring

map->ednclj

(map->edn m)

often needed for to pass EDN maps to Clojure libs from Java => (def m (java.util.HashMap. {"crux.id/foo" {"crux.db/bar" "baz"} "crux.asnwer/life" 42})) => (map->edn m) {:crux.id/foo #:crux.db{:bar "baz"}, :crux.asnwer/life 42}

often needed for to pass EDN maps to Clojure libs from Java
=> (def m (java.util.HashMap. {"crux.id/foo" {"crux.db/bar" "baz"} "crux.asnwer/life" 42}))
=> (map->edn m)
{:crux.id/foo #:crux.db{:bar "baz"}, :crux.asnwer/life 42}
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close