planck.repl

Vars

*pprint-results*
apropos
dir
doc
find-doc
get-arglists
pst
source

Vars

*pprint-results*

*pprint-results* controls whether Planck REPL results are pretty printed. If it is bound to logical false, results are printed in a plain fashion. Otherwise, results are pretty printed.

apropos

([str-or-pattern])

Macro

Given a regular expression or stringable thing, return a seq of all public definitions in all currently-loaded namespaces that match the str-or-pattern.

dir

([nsname])

Macro

Prints a sorted directory of public vars in a namespace

doc

([sym])

Macro

Prints documentation for a var or special form given its name

find-doc

([re-string-or-pattern])

Macro

Prints documentation for any var whose documentation or name contains a match for re-string-or-pattern

get-arglists

([s])

Return the argument lists for the given symbol as string, or nil if not found.

Spec
args: (s/cat :s string?)
ret: (s/nilable (s/coll-of vector? :kind list?))

pst

([] [e])

Macro

Prints a stack trace of the exception.

If none supplied, uses the root cause of the most recent repl exception (*e)

source

([sym])

Macro

Prints the source code for the given symbol, if it can find it. This requires that the symbol resolve to a Var defined in a namespace for which the source is available.

Example: (source filter)