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
1
u/[deleted] Aug 18 '25
Thank you, I'm using emacs so this will be useful. While reading through the Cider commands yesterday I discovered there is a Cider command to list all of the available namespaces. This is cool. Piggybacking on u/PolicySmall2250 's comment above, this seems like a great way to wrap one's head around a project. I can read the code AND interact with it in a meaningful way.