Skip to content

Instantly share code, notes, and snippets.

@wdhowe
Last active December 18, 2025 18:32
Show Gist options
  • Select an option

  • Save wdhowe/4125856d72714724072f4f6b007273a8 to your computer and use it in GitHub Desktop.

Select an option

Save wdhowe/4125856d72714724072f4f6b007273a8 to your computer and use it in GitHub Desktop.
Clojure commands for getting help, docs and more while in the REPL

Clojure REPL Help

Commands that can be entered in the REPL for finding help, documentation, and more.

Load clojure REPL helper functions

(require '[clojure.repl :refer :all])

doc - display documentation for a function

(doc +)

apropos - find function names that match a string

(apropos "+")

find-doc - wider function search that includes docstrings

(find-doc "trim")

dir - view full listing of functions in a namespace

(dir clojure.repl)

source - view function description and source

(source dir)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment