this post was submitted on 03 Jan 2025
2 points (100.0% liked)

Clojure programming language discussion

478 readers
3 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
 

Var quote (#’) demystified

https://chpill.github.io/en/posts/var-quote-demystified.html

(require '[ring.adapter.jetty :refer [run-jetty]]) (defn handler [_req] {:status 200 :body "plop"}) (run-jetty #'handler {:port 4321 :join? false}) #'handler is equivalent to (var handler) which returns the var bound to the symbol handler...

#clojure #clj #cljs [email protected] @clojure

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