this post was submitted on 26 Apr 2025
3 points (100.0% liked)

Clojure programming language discussion

555 readers
1 users here now

Clojure is a Lisp that targets JVM and JS runtimes

Finding information about Clojure

API Reference

Clojure Guides

Practice Problems

Interactive Problems

Clojure Videos

The Clojure Community

Clojure Books

Tools & Libraries

Clojure Editors

Web Platforms

founded 5 years ago
MODERATORS
 

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

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here