Liking cljdoc? Tell your friends :D

leanfran.malli

malli instrumentation of leanfran.typed/defn functions from their Lean signatures. malli is the user's dependency; this namespace loads it when called.

malli instrumentation of `leanfran.typed/defn` functions from their Lean
signatures. malli is the user's dependency; this namespace loads it when
called.
raw docstring

check-compatibility!clj

(check-compatibility! v declarations origin fail)

Compare a loaded Var's Malli registration to its same-file declaration.

Compare a loaded Var's Malli registration to its same-file declaration.
sourceraw docstring

compatibilityclj

(compatibility schema {:keys [arities]})

Diagnostics for comparing one literal Malli function schema with a Lean signature.

Diagnostics for comparing one literal Malli function schema with a Lean signature.
sourceraw docstring

instrument!clj

(instrument! nss)
(instrument! nss opts)

register! the functions of the namespaces nss, then instrument them with malli.instrument/instrument!, so that calls with arguments outside their Lean types throw. opts go to instrument! (:report, :scope).

`register!` the functions of the namespaces `nss`, then instrument them with
`malli.instrument/instrument!`, so that calls with arguments outside their
Lean types throw. `opts` go to `instrument!` (`:report`, `:scope`).
sourceraw docstring

register!clj

(register! nss)

Register the Malli function schema (leanfran.types/fn-schema) of each Lean-signed function in nss that has no registered schema. Returns the newly registered vars; leaves user registrations such as malli.core/=> intact.

Register the Malli function schema (`leanfran.types/fn-schema`) of each
Lean-signed function in `nss` that has no registered schema. Returns the
newly registered vars; leaves user registrations such as `malli.core/=>` intact.
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