Liking cljdoc? Tell your friends :D

contextual.impl.validate


arity-check-fnclj

(arity-check-fn v)

Derive a function to validate the arity of an expression based on a var's metadata

Derive a function to validate the arity of an expression based on a var's metadata
sourceraw docstring

bad-callsclj

(bad-calls expr m)

Try to find bad calls in expression expr. Symbols will be looked up in m. For maximal benefit, enrich the symbols with metadata using with-validatation-meta

Try to find bad calls in expression `expr`. Symbols will be looked up in `m`.
For maximal benefit, enrich the symbols with metadata using
`with-validatation-meta`
sourceraw docstring

callable?clj

(callable? v)
source

enrich-lookup-mapclj

(enrich-lookup-map m)
source

missing-symbolsclj

(missing-symbols expr context)
(missing-symbols expr context found)
source

unresolvable-symbolsclj

(unresolvable-symbols expr lookup registry)

Find all symbols in expr which cannot be resolved

Find all symbols in `expr` which cannot be resolved
sourceraw docstring

with-validatation-metaclj

(with-validatation-meta s v)

Annotate symbol s with a validation function returned from arity-check-fn and all other metadata on v

Annotate symbol `s` with a validation function returned
from [[arity-check-fn]] and all other metadata on `v`
sourceraw docstring

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

× close