r/Clojurescript • u/hesoyam155 • Jun 14 '20
Private functions clojurescript
I'm playing around with clojurescript/reagent and noticed that (defn- function [] ...) doesn't work. Does that mean there are no private functions in CLJS?
7
Upvotes
View all comments
Show parent comment
2
u/SimonGray Jun 14 '20
I'm pretty sure you get a warning if you access a private function from a different namespace, so that is not entirely true.