Core namespace. Most interactions with Compliment should happen through functions defined here.
Core namespace. Most interactions with Compliment should happen through functions defined here.
List of all Compliment files in an order they should be loaded. This is required by REPLy.
List of all Compliment files in an order they should be loaded. This is required by REPLy.
(completions prefix)
(completions prefix options-map)
Returns a list of completions for the given prefix. Options map can contain the following options:
Returns a list of completions for the given prefix. Options map can contain the following options: - :ns - namespace where completion is initiated; - :context - code form around the prefix; - :sort-order (either :by-length or :by-name); - :plain-candidates - if true, returns plain strings instead of maps; - :extra-metadata - set of extra fields to add to the maps; - :sources - list of source keywords to use.
(documentation symbol-str)
(documentation symbol-str ns)
Returns a documentation string that describes the given symbol.
Returns a documentation string that describes the given symbol.
(ensure-ns nspc)
Takes either a namespace object or a symbol and returns the corresponding
namespace if it exists, otherwise returns user
namespace.
Takes either a namespace object or a symbol and returns the corresponding namespace if it exists, otherwise returns `user` namespace.
(sort-by-length candidates)
Sorts list of strings by their length first, and then alphabetically if length is equal. Works for tagged and non-tagged results.
Sorts list of strings by their length first, and then alphabetically if length is equal. Works for tagged and non-tagged results.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close