Utility functions for development only
Utility functions for development only
(apropos str-or-pattern)Given a regular expression or stringable thing, return a seq of all definitions in all currently-loaded namespaces that match the str-or-pattern.
Given a regular expression or stringable thing, return a seq of all definitions in all currently-loaded namespaces that match the str-or-pattern.
(capture-to-file thunk file)Capture standard output to file
Capture standard output to file
(class-source klass)Return the jar file that defines a given class
Return the jar file that defines a given class
(dbg x)Wrap this around an expression; will print expression and value when run.
Wrap this around an expression; will print expression and value when run.
(debuggable tag captures & body)tag is a keyword, captures is a list of variable names. Wrap this around an execution; the variables will be captured in the stacktrace
tag is a keyword, captures is a list of variable names. Wrap this around an execution; the variables will be captured in the stacktrace
(get-methods class)Return a list of all method names on class
Return a list of all method names on `class`
(tapr thing)Print thing and return it as value
Print `thing` and return it as value
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |