Liking cljdoc? Tell your friends :D

nrepl.middleware.lookup

Symbol info lookup middleware.

It's meant to provide you with useful data like definition location, parameter lists, etc.

The middleware can be configured to use a different lookup function via a dynamic variable or a request parameter.

NOTE: The functionality here is experimental and the API is subject to changes.

Symbol info lookup middleware.

It's meant to provide you with useful data like definition location,
parameter lists, etc.

The middleware can be configured to use a different lookup
function via a dynamic variable or a request parameter.

NOTE: The functionality here is experimental and
the API is subject to changes.
raw docstring

*lookup-fn*clj

Function to use for lookup. Takes two arguments:

  • ns, the namespace in which to do the lookup.
  • sym, the symbol to lookup
Function to use for lookup. Takes two arguments:

* `ns`, the namespace in which to do the lookup.
* `sym`, the symbol to lookup 
sourceraw docstring

lookup-replyclj

(lookup-reply {:keys [session sym ns lookup-fn] :as msg})
source

wrap-lookupclj

(wrap-lookup h)

Middleware that provides symbol info lookup. It understands the following params:

  • sym - the symbol which to lookup.
  • ns- the namespace in which to do lookup. Defaults to *ns*.
  • lookup – a fully-qualified symbol naming a var whose function to use for lookup. Must point to a function with signature [sym ns].
Middleware that provides symbol info lookup.
It understands the following params:

* `sym` - the symbol which to lookup.
* `ns`- the namespace in which to do lookup. Defaults to `*ns*`.
* `lookup` – a fully-qualified symbol naming a var whose function to use for
lookup. Must point to a function with signature [sym ns].
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close