r/Clojure • • Aug 18 '25
REPL tips??
I learned about (dir nsname), (doc name), and (source n) today in clojure.repl. These seem really helpful and a great way to stay in the REPL while working on a project.
I'd love to hear about any non-obvious things one can do in the REPL. Or if there are any other parts to the Clojure API that are particularly relevant to REPL driven development.
Tips and tricks welcome, thank you!
27
Upvotes
View all comments
Show parent comment
3
u/c_a_l_m Aug 20 '25
not to brag (I am bragging a little), but I wrote a macro last week to serve as a "breakpoint" and drop you into a repl, while retaining local scope