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.
Function to use for lookup. Takes two arguments:
ns
, the namespace in which to do the lookup.sym
, the symbol to lookupFunction to use for lookup. Takes two arguments: * `ns`, the namespace in which to do the lookup. * `sym`, the symbol to lookup
(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].
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close