Liking cljdoc? Tell your friends :D

skeptic.checking.form


assert-has-schemacljmacro

(assert-has-schema x)
source

assert-schemacljmacro

(assert-schema schema)
source

defn-declsclj

(defn-decls form)

Inputs: [form] Returns: s/Any

Inputs: [form]
Returns: s/Any
sourceraw docstring

display-exprclj

(display-expr node)

Inputs: [node] Returns: s/Any

Inputs: [node]
Returns: s/Any
sourceraw docstring

extract-def-annotation-symbolclj

(extract-def-annotation-symbol form)

Inputs: [form] Returns: s/Any

Inputs: [form]
Returns: s/Any
sourceraw docstring

extract-defn-annotation-symbolclj

(extract-defn-annotation-symbol form)

Inputs: [form] Returns: s/Any

Inputs: [form]
Returns: s/Any
sourceraw docstring

form-locationclj

(form-location source-file form)

Inputs: [source-file form] Returns: s/Any

Inputs: [source-file form]
Returns: s/Any
sourceraw docstring

form-sourceclj

(form-source form)

Inputs: [form] Returns: s/Any

Inputs: [form]
Returns: s/Any
sourceraw docstring

merge-locationclj

(merge-location & locations)

Inputs: [& locations] Returns: s/Any

Inputs: [& locations]
Returns: s/Any
sourceraw docstring

method-source-bodyclj

(method-source-body decl)

Inputs: [decl] Returns: s/Any

Inputs: [decl]
Returns: s/Any
sourceraw docstring

node-error-contextclj

(node-error-context node enclosing-form)

Inputs: [node enclosing-form] Returns: s/Any

Inputs: [node enclosing-form]
Returns: s/Any
sourceraw docstring

normalize-check-formclj

(normalize-check-form form)

Inputs: [form] Returns: s/Any

Inputs: [form]
Returns: s/Any
sourceraw docstring

safe-pr-strclj

(safe-pr-str x)

pr-str but with :type metadata stripped first (see strip-type-meta).

pr-str but with :type metadata stripped first (see strip-type-meta).
sourceraw docstring

schema-defn-symbol?clj

(schema-defn-symbol? sym)

Inputs: [sym :- s/Any] Returns: s/Any

Inputs: [sym :- s/Any]
Returns: s/Any
sourceraw docstring

source-file-pathclj

(source-file-path source-file)

Inputs: [source-file] Returns: (s/maybe s/Str)

Inputs: [source-file]
Returns: (s/maybe s/Str)
sourceraw docstring

strip-schema-argvecclj

(strip-schema-argvec argvec)

Inputs: [argvec] Returns: s/Any

Inputs: [argvec]
Returns: s/Any
sourceraw docstring

strip-schema-defnclj

(strip-schema-defn form)

Inputs: [form] Returns: s/Any

Inputs: [form]
Returns: s/Any
sourceraw docstring

strip-schema-methodclj

(strip-schema-method decl)

Inputs: [decl] Returns: s/Any

Inputs: [decl]
Returns: s/Any
sourceraw docstring

strip-type-metaclj

(strip-type-meta x)

Recursively dissoc :type from metadata so pr-str's dispatch on user forms falls back to (class x). Necessary because some libraries (e.g. malli) install print-method defmethods keyed on :type metadata that call protocol methods on the value — invoking those on a raw source-form list throws IllegalArgumentException. Skeptic must never trigger user print-methods on form data.

Recursively dissoc :type from metadata so pr-str's dispatch on user forms
falls back to (class x). Necessary because some libraries (e.g. malli)
install print-method defmethods keyed on :type metadata that call protocol
methods on the value — invoking those on a raw source-form list throws
IllegalArgumentException. Skeptic must never trigger user print-methods
on form data.
sourceraw docstring

valid-schema?clj

(valid-schema? schema)

Inputs: [schema] Returns: s/Any

Inputs: [schema]
Returns: s/Any
sourceraw docstring

with-form-metaclj

(with-form-meta original rewritten)

Inputs: [original rewritten] Returns: s/Any

Inputs: [original rewritten]
Returns: s/Any
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close