this post was submitted on 06 Oct 2023
0 points (50.0% liked)

Lisp

53 readers
3 users here now

founded 1 year ago
MODERATORS
top 1 comments
sorted by: hot top controversial new old
[–] seancorfield@alien.top 1 points 1 year ago

Private is an illusion in Clojure. You can call (#'p/truth) to call a "private" function.

Also, although there is no def-, you can have private "constants": (def ^:private meaning-of-death ..)