Clojure, defn, defn-, public/private, defaults
clojure
Solution
No. There is not.
An alternative approach which might or might not work for you is to declare a `foo.bar.internal` namespace containing all the private helpers which is used by your `foo.bar` namespace. This has advantages over private function declarations when you want to use private functions in macro expansions.
Problem
- `defn` = public - `defn-` = private Perhaps I have bad Clojure coding style -- but I find that most functions I write in Clojure are small helper functions that I do not want to expose. Is there some configuration option, where: - `defn` = private by default, - and to make something public, I have to do `defn+`? Thanks!