Skip Navigation

Babashka Java interop, reflection and type hints

Babashka Java interop, reflection and type hints

https://blog.michielborkent.nl/babashka-java-reflection-type-hints.html

Consider the following Clojure code:(def thread-pool (java.util.concurrent.Executors/newCachedThreadPool)) (def fut (.submit thread-pool (fn [] 3))) @fut ;;= ? I didn't use any type hints, but the names of the vars should give you an idea what's...

clojure #clj #cljs !clojure@lemmy.ml @clojure

0 comments

No comments