This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-06-05
Channels
- # announcements (1)
- # babashka (6)
- # beginners (37)
- # clojure (4)
- # clojure-europe (6)
- # clojure-india (3)
- # clojure-spec (6)
- # clojured (1)
- # clojurescript (14)
- # datalog (5)
- # gratitude (1)
- # helix (3)
- # hyperfiddle (1)
- # interop (6)
- # leiningen (2)
- # off-topic (142)
- # other-lisps (2)
- # pathom (20)
- # releases (1)
- # rewrite-clj (4)
- # shadow-cljs (5)
- # tools-deps (3)
The doc of declare
says defs the supplied var names with no bindings
. But to be accurate, it binds to clojure.lang.Var$Unbound
.
(declare test). (when test (println "foobar"))
indeed prints.
No bindings doent mean nil, if I recall way back before 1.x some time referencing such a var would throw an exception when compiling